Skip to content

Commit e356aaf

Browse files
committed
Checkstyle again again
1 parent dbfc675 commit e356aaf

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/main/java/com/timgroup/statsd/NonBlockingStatsDClient.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,8 @@ protected static String format(ThreadLocal<NumberFormat> formatter, Number value
322322
telemetryClientChannel = clientChannel;
323323
telemetryStatsDProcessor = statsDProcessor;
324324
} else {
325-
telemetryClientChannel = createByteChannel(telemetryAddressLookup, timeout, connectionTimeout, bufferSize, enableJdkSocket);
325+
telemetryClientChannel = createByteChannel(telemetryAddressLookup, timeout, connectionTimeout,
326+
bufferSize, enableJdkSocket);
326327

327328
// similar settings, but a single worker and non-blocking.
328329
telemetryStatsDProcessor = createProcessor(queueSize, handler, getPacketSize(telemetryClientChannel),
@@ -499,7 +500,8 @@ ClientChannel createByteChannel(
499500
// Allow us to support `unix://` for both kind of sockets like in go.
500501
switch (unixAddr.getTransportType()) {
501502
case UDS_STREAM:
502-
return new UnixStreamClientChannel(unixAddr.getAddress(), timeout, connectionTimeout, bufferSize, enableJdkSocket);
503+
return new UnixStreamClientChannel(unixAddr.getAddress(), timeout, connectionTimeout,
504+
bufferSize, enableJdkSocket);
503505
case UDS_DATAGRAM:
504506
case UDS:
505507
return new UnixDatagramClientChannel(unixAddr.getAddress(), timeout, bufferSize);

src/main/java/com/timgroup/statsd/UnixStreamClientChannel.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ public class UnixStreamClientChannel implements ClientChannel {
3030
*
3131
* @param address Location of named pipe
3232
*/
33-
UnixStreamClientChannel(SocketAddress address, int timeout, int connectionTimeout, int bufferSize, boolean enableJdkSocket) throws IOException {
33+
UnixStreamClientChannel(SocketAddress address, int timeout, int connectionTimeout, int bufferSize,
34+
boolean enableJdkSocket) throws IOException {
3435
this.delegate = null;
3536
this.address = address;
3637
System.out.println("========== Constructor address: " + address);

0 commit comments

Comments
 (0)