Skip to content

Commit

Permalink
Fixed statis factory method names
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbodart committed Jan 19, 2017
1 parent cddd796 commit 8eddcb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8eddcb2

Please sign in to comment.