diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-14 12:58:41 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-14 12:58:41 +1300 |
commit | f7f9b28e1e8bf3467fb51bf78f961b0336d99f3c (patch) | |
tree | 3d1bca242807baa0aa1e386005f57a59897b8bae /src | |
parent | 0ea83a925d85a0b5911504f940fdc3c6740ec2f1 (diff) | |
download | trackermap-server-f7f9b28e1e8bf3467fb51bf78f961b0336d99f3c.tar.gz trackermap-server-f7f9b28e1e8bf3467fb51bf78f961b0336d99f3c.tar.bz2 trackermap-server-f7f9b28e1e8bf3467fb51bf78f961b0336d99f3c.zip |
Fix newly reported check style issues
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/BasePipelineFactory.java | 4 | ||||
-rw-r--r-- | src/org/traccar/protocol/NavisProtocolDecoder.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/org/traccar/BasePipelineFactory.java b/src/org/traccar/BasePipelineFactory.java index 3b52287b8..c0952db86 100644 --- a/src/org/traccar/BasePipelineFactory.java +++ b/src/org/traccar/BasePipelineFactory.java @@ -40,11 +40,11 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory { private DistanceHandler distanceHandler; private ReverseGeocoderHandler reverseGeocoderHandler; - private static class OpenChannelHandler extends SimpleChannelHandler { + private static final class OpenChannelHandler extends SimpleChannelHandler { private final TrackerServer server; - public OpenChannelHandler(TrackerServer server) { + private OpenChannelHandler(TrackerServer server) { this.server = server; } diff --git a/src/org/traccar/protocol/NavisProtocolDecoder.java b/src/org/traccar/protocol/NavisProtocolDecoder.java index 5569b6a6e..c5dc9fbdc 100644 --- a/src/org/traccar/protocol/NavisProtocolDecoder.java +++ b/src/org/traccar/protocol/NavisProtocolDecoder.java @@ -59,11 +59,11 @@ public class NavisProtocolDecoder extends BaseProtocolDecoder { return false; } - private static class ParseResult { + private static final class ParseResult { private final long id; private final Position position; - public ParseResult(long id, Position position) { + private ParseResult(long id, Position position) { this.id = id; this.position = position; } |