Skip to content

Commit 1261031

Browse files
committed
Fix offenses
1 parent ea861ac commit 1261031

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/main/java/org/influxdb/InfluxDB.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ public String value() {
102102
public InfluxDB enableBatch(final int actions, final int flushDuration, final TimeUnit flushDurationTimeUnit);
103103

104104
/**
105-
* Enable batching of single Point writes as {@link #enableBatch(int, int, TimeUnit, ThreadFactory, Consumer<Throwable>)}
105+
* Enable batching of single Point writes as
106+
* {@link #enableBatch(int, int, TimeUnit, ThreadFactory, Consumer<Throwable>)}
106107
* using with a exceptionHandler that does nothing.
107108
*
108109
* @see #enableBatch(int, int, TimeUnit, ThreadFactory, Consumer<Throwable>)

src/main/java/org/influxdb/impl/InfluxDBImpl.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ public InfluxDB enableBatch(final int actions, final int flushDuration,
165165
}
166166

167167
@Override
168-
public InfluxDB enableBatch(int actions, int flushDuration, TimeUnit flushDurationTimeUnit, ThreadFactory threadFactory, Consumer<Throwable> exceptionHandler) {
168+
public InfluxDB enableBatch(final int actions, final int flushDuration, final TimeUnit flushDurationTimeUnit,
169+
final ThreadFactory threadFactory, final Consumer<Throwable> exceptionHandler) {
169170
if (this.batchEnabled.get()) {
170171
throw new IllegalStateException("BatchProcessing is already enabled.");
171172
}

0 commit comments

Comments
 (0)