diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2010-04-17 15:28:14 +0000 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2010-04-17 15:28:14 +0000 |
commit | 79cb531f8511d0a4f34327b0df4f858bd7cf68f3 (patch) | |
tree | b27164c40e0f0c2e2cc3c28c9f83051f34963350 /src/net/sourceforge/opentracking/TrackerEventHandler.java | |
parent | f519b288d61b29ed35be566a297cd3282bcb2820 (diff) | |
download | trackermap-server-79cb531f8511d0a4f34327b0df4f858bd7cf68f3.tar.gz trackermap-server-79cb531f8511d0a4f34327b0df4f858bd7cf68f3.tar.bz2 trackermap-server-79cb531f8511d0a4f34327b0df4f858bd7cf68f3.zip |
Diffstat (limited to 'src/net/sourceforge/opentracking/TrackerEventHandler.java')
-rw-r--r-- | src/net/sourceforge/opentracking/TrackerEventHandler.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/net/sourceforge/opentracking/TrackerEventHandler.java b/src/net/sourceforge/opentracking/TrackerEventHandler.java index 218dd944b..b47f3be5a 100644 --- a/src/net/sourceforge/opentracking/TrackerEventHandler.java +++ b/src/net/sourceforge/opentracking/TrackerEventHandler.java @@ -20,7 +20,6 @@ import org.jboss.netty.channel.ChannelHandlerContext; import org.jboss.netty.channel.ExceptionEvent; import org.jboss.netty.channel.MessageEvent; import org.jboss.netty.channel.ChannelPipelineCoverage; -import java.sql.SQLException; /** * Tracker message handler @@ -47,9 +46,8 @@ public class TrackerEventHandler extends SimpleChannelHandler { // Write position to database try { - dataManager.writePosition((Position) e.getMessage()); + dataManager.setPosition((Position) e.getMessage()); } catch (Exception error) { - //System.out.println("write error"); } } } |