diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-04-26 19:57:44 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-04-26 19:57:44 +1200 |
commit | 1cd60e56770fd3643be9e3dd163198e8b84992a7 (patch) | |
tree | 68ec8810dc9a70300dd8b29f773147a2bef598f5 /src/org | |
parent | 91e64abefb70be18d842181f75c7e392d68057f0 (diff) | |
download | trackermap-server-1cd60e56770fd3643be9e3dd163198e8b84992a7.tar.gz trackermap-server-1cd60e56770fd3643be9e3dd163198e8b84992a7.tar.bz2 trackermap-server-1cd60e56770fd3643be9e3dd163198e8b84992a7.zip |
Rename ST210 to St210
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/ServerManager.java | 2 | ||||
-rw-r--r-- | src/org/traccar/protocol/St210ProtocolDecoder.java (renamed from src/org/traccar/protocol/ST210ProtocolDecoder.java) | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/org/traccar/ServerManager.java b/src/org/traccar/ServerManager.java index 34c903cc5..48dd2ddc8 100644 --- a/src/org/traccar/ServerManager.java +++ b/src/org/traccar/ServerManager.java @@ -416,7 +416,7 @@ public class ServerManager { pipeline.addLast("frameDecoder", new DelimiterBasedFrameDecoder(1024, ChannelBuffers.wrappedBuffer(delimiter))); pipeline.addLast("stringDecoder", new StringDecoder()); - pipeline.addLast("objectDecoder", new ST210ProtocolDecoder(ServerManager.this)); + pipeline.addLast("objectDecoder", new St210ProtocolDecoder(ServerManager.this)); } }); } diff --git a/src/org/traccar/protocol/ST210ProtocolDecoder.java b/src/org/traccar/protocol/St210ProtocolDecoder.java index d8d42eed6..bea7d1ad6 100644 --- a/src/org/traccar/protocol/ST210ProtocolDecoder.java +++ b/src/org/traccar/protocol/St210ProtocolDecoder.java @@ -14,10 +14,10 @@ import org.traccar.helper.Log; import org.traccar.model.DataManager; import org.traccar.model.Position; -public class ST210ProtocolDecoder extends BaseProtocolDecoder { +public class St210ProtocolDecoder extends BaseProtocolDecoder { - public ST210ProtocolDecoder(ServerManager serverManager) { + public St210ProtocolDecoder(ServerManager serverManager) { super(serverManager); } @@ -482,7 +482,7 @@ public class ST210ProtocolDecoder extends BaseProtocolDecoder { return null; } - public static Pattern getPattern(List<ST210FIELDS> protocol) { + private static Pattern getPattern(List<ST210FIELDS> protocol) { String patternStr = ""; |