Skip to content

Commit

Permalink
silent 3 javadoc warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Aug 30, 2017
1 parent 7c67599 commit d311654
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/java/org/influxdb/InfluxDB.java
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@ public void createRetentionPolicy(final String rpName, final String database, fi
* @param rpName the name of the retentionPolicy(rp)
* @param database the name of the database
* @param duration the duration of the rp
* @param shardDuration the shardDuration
* @param replicationFactor the replicationFactor of the rp
*/
public void createRetentionPolicy(final String rpName, final String database, final String duration,
Expand Down
1 change: 1 addition & 0 deletions src/main/java/org/influxdb/impl/InfluxDBResultMapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public class InfluxDBResultMapper {
*
* @param queryResult the InfluxDB result object
* @param clazz the Class that will be used to hold your measurement data
* @param <T> the target type
* @return a {@link List} of objects from the same Class passed as parameter and sorted on the
* same order as received from InfluxDB.
* @throws InfluxDBMapperException If {@link QueryResult} parameter contain errors,
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/influxdb/impl/Preconditions.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public static void checkPositiveNumber(final Number number, final String name) t
* Enforces that the duration is a valid influxDB duration.
* @param duration the duration to test
* @param name variable name for reporting
* @throws IllegalArgumentException
* @throws IllegalArgumentException if the given duration is not valid.
*/
public static void checkDuration(final String duration, final String name) throws IllegalArgumentException {
if (!duration.matches("(\\d+[wdmhs])+")) {
Expand Down

0 comments on commit d311654

Please sign in to comment.