aboutsummaryrefslogtreecommitdiff
path: root/src/net/sourceforge/opentracking/TrackerEventHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/sourceforge/opentracking/TrackerEventHandler.java')
-rw-r--r--src/net/sourceforge/opentracking/TrackerEventHandler.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/sourceforge/opentracking/TrackerEventHandler.java b/src/net/sourceforge/opentracking/TrackerEventHandler.java
index 845ba650c..218dd944b 100644
--- a/src/net/sourceforge/opentracking/TrackerEventHandler.java
+++ b/src/net/sourceforge/opentracking/TrackerEventHandler.java
@@ -41,7 +41,7 @@ public class TrackerEventHandler extends SimpleChannelHandler {
@Override
public void messageReceived(ChannelHandlerContext ctx, MessageEvent e) {
- System.out.println("message recieved");
+ //System.out.println("message recieved");
if (e.getMessage() instanceof Position) {
@@ -49,14 +49,14 @@ public class TrackerEventHandler extends SimpleChannelHandler {
try {
dataManager.writePosition((Position) e.getMessage());
} catch (Exception error) {
- System.out.println("write error");
+ //System.out.println("write error");
}
}
}
@Override
public void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) {
- System.out.println("error: " + e.getCause().getMessage());
+ //System.out.println("error: " + e.getCause().getMessage());
e.getChannel().close();
}