diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-23 16:57:02 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-23 16:57:02 +1200 |
commit | d997825008a0a1b0a6c29cc45e381cd239aa3572 (patch) | |
tree | f21c058b1cedb5ffe041f2ee199b4bd0e6329b93 /src/org/traccar/protocol/GalileoProtocolDecoder.java | |
parent | 23b09f83989a4b012bc2387fb6e180baccf9a60c (diff) | |
download | trackermap-server-d997825008a0a1b0a6c29cc45e381cd239aa3572.tar.gz trackermap-server-d997825008a0a1b0a6c29cc45e381cd239aa3572.tar.bz2 trackermap-server-d997825008a0a1b0a6c29cc45e381cd239aa3572.zip |
Clean up code inspection issues
Diffstat (limited to 'src/org/traccar/protocol/GalileoProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/GalileoProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/GalileoProtocolDecoder.java b/src/org/traccar/protocol/GalileoProtocolDecoder.java index b9a4eef44..37a31de6e 100644 --- a/src/org/traccar/protocol/GalileoProtocolDecoder.java +++ b/src/org/traccar/protocol/GalileoProtocolDecoder.java @@ -91,8 +91,8 @@ public class GalileoProtocolDecoder extends BaseProtocolDecoder { buf.readUnsignedByte(); // header int length = (buf.readUnsignedShort() & 0x7fff) + 3; - List<Position> positions = new LinkedList<Position>(); - Set<Integer> tags = new HashSet<Integer>(); + List<Position> positions = new LinkedList<>(); + Set<Integer> tags = new HashSet<>(); boolean hasLocation = false; Position position = new Position(); position.setProtocol(getProtocolName()); |