Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 87487a0

Browse files
committedMay 4, 2017
Fix formatting
1 parent 9045937 commit 87487a0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
 

‎src/main/java/org/influxdb/impl/BatchProcessor.java

+4-3
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public static final class Builder {
4848
private int actions;
4949
private TimeUnit flushIntervalUnit;
5050
private int flushInterval;
51-
private Consumer<Throwable> exceptionHandler = throwable -> {};
51+
private Consumer<Throwable> exceptionHandler = throwable -> { };
5252

5353
/**
5454
* @param threadFactory
@@ -96,7 +96,7 @@ public Builder interval(final int interval, final TimeUnit unit) {
9696
}
9797

9898
/**
99-
* A callback to be used when an error occurs during a batchwrite
99+
* A callback to be used when an error occurs during a batchwrite.
100100
*
101101
* @param handler
102102
* the handler
@@ -181,7 +181,8 @@ public static Builder builder(final InfluxDB influxDB) {
181181
}
182182

183183
BatchProcessor(final InfluxDBImpl influxDB, final ThreadFactory threadFactory, final int actions,
184-
final TimeUnit flushIntervalUnit, final int flushInterval, final Consumer<Throwable> exceptionHandler) {
184+
final TimeUnit flushIntervalUnit, final int flushInterval,
185+
final Consumer<Throwable> exceptionHandler) {
185186
super();
186187
this.influxDB = influxDB;
187188
this.actions = actions;

0 commit comments

Comments
 (0)
Please sign in to comment.