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