From 8eddcb22cbe35306afbe39503623226c11677b6c Mon Sep 17 00:00:00 2001 From: Daniel Worthington-Bodart Date: Thu, 19 Jan 2017 15:55:49 +0000 Subject: [PATCH] Fixed statis factory method names --- src/com/googlecode/utterlyidle/monitoring/CarbonClient.java | 2 +- src/com/googlecode/utterlyidle/monitoring/JsonLinesClient.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/googlecode/utterlyidle/monitoring/CarbonClient.java b/src/com/googlecode/utterlyidle/monitoring/CarbonClient.java index c07a0c59..21745dfd 100644 --- a/src/com/googlecode/utterlyidle/monitoring/CarbonClient.java +++ b/src/com/googlecode/utterlyidle/monitoring/CarbonClient.java @@ -21,7 +21,7 @@ public interface CarbonClient extends Closeable { default void close() throws IOException { } - static CarbonClient carbonSender(SocketAddress socketAddress, Clock clock) throws IOException { + static CarbonClient carbonClient(SocketAddress socketAddress, Clock clock) throws IOException { TcpMessenger messenger = new TcpMessenger(SocketChannel.open(socketAddress)); return new CarbonClient() { @Override diff --git a/src/com/googlecode/utterlyidle/monitoring/JsonLinesClient.java b/src/com/googlecode/utterlyidle/monitoring/JsonLinesClient.java index 6fbaa42f..96b0b8eb 100644 --- a/src/com/googlecode/utterlyidle/monitoring/JsonLinesClient.java +++ b/src/com/googlecode/utterlyidle/monitoring/JsonLinesClient.java @@ -14,7 +14,7 @@ public interface JsonLinesClient extends Closeable { default void close() throws IOException { } - static JsonLinesClient jsonSender(SocketAddress socketAddress) throws IOException { + static JsonLinesClient jsonClient(SocketAddress socketAddress) throws IOException { TcpMessenger messenger = new TcpMessenger(SocketChannel.open(socketAddress)); return new JsonLinesClient() { @Override