From 0fe9792a9f194e68288c377810c33973d117923f Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 13 Dec 2013 08:12:47 -0500 Subject: [PATCH] Use multiple mappings for the git servlet instead of multiple instances --- src/main/java/com/gitblit/fanout/FanoutServiceConnection.java | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/java/com/gitblit/fanout/FanoutServiceConnection.java b/src/main/java/com/gitblit/fanout/FanoutServiceConnection.java index f7f2c95..2515ab1 100644 --- a/src/main/java/com/gitblit/fanout/FanoutServiceConnection.java +++ b/src/main/java/com/gitblit/fanout/FanoutServiceConnection.java @@ -24,14 +24,14 @@ /** * FanoutServiceConnection handles reading/writing messages from a remote fanout * connection. - * + * * @author James Moger - * + * */ public abstract class FanoutServiceConnection implements Comparable<FanoutServiceConnection> { - + private static final Logger logger = LoggerFactory.getLogger(FanoutServiceConnection.class); - + public final String id; protected FanoutServiceConnection(Socket socket) { @@ -42,25 +42,25 @@ /** * Send the connection a debug channel connected message. - * + * * @param message */ protected void connected() { reply(FanoutConstants.CH_DEBUG, FanoutConstants.MSG_CONNECTED); } - + /** * Send the connection a debug channel busy message. - * + * * @param message */ protected void busy() { reply(FanoutConstants.CH_DEBUG, FanoutConstants.MSG_BUSY); } - + /** * Send the connection a message for the specified channel. - * + * * @param channel * @param message * @return the reply -- Gitblit v1.9.1