diff options
Diffstat (limited to 'src')
-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 = ""; |