aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-11-11 13:44:41 +0500
committerAbyss777 <abyss@fox5.ru>2016-11-11 13:44:41 +0500
commit2b5f9090882a4ddb5ca72d47b74ca6466e2240d0 (patch)
tree85accc491eeb73d2914251290da7869d63219d2f /src
parentf80ce6d7a36e753aa6e5c7197d39a9e08caa848e (diff)
downloadtrackermap-server-2b5f9090882a4ddb5ca72d47b74ca6466e2240d0.tar.gz
trackermap-server-2b5f9090882a4ddb5ca72d47b74ca6466e2240d0.tar.bz2
trackermap-server-2b5f9090882a4ddb5ca72d47b74ca6466e2240d0.zip
Remove static
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/GranitProtocolDecoder.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/org/traccar/protocol/GranitProtocolDecoder.java b/src/org/traccar/protocol/GranitProtocolDecoder.java
index 2940f5c71..5fa786e4d 100644
--- a/src/org/traccar/protocol/GranitProtocolDecoder.java
+++ b/src/org/traccar/protocol/GranitProtocolDecoder.java
@@ -37,10 +37,10 @@ public class GranitProtocolDecoder extends BaseProtocolDecoder {
private static final int HEADER_LENGTH = 6;
- private static double adc1Ratio;
- private static double adc2Ratio;
- private static double adc3Ratio;
- private static double adc4Ratio;
+ private double adc1Ratio;
+ private double adc2Ratio;
+ private double adc3Ratio;
+ private double adc4Ratio;
public GranitProtocolDecoder(GranitProtocol protocol) {
super(protocol);
@@ -78,7 +78,7 @@ public class GranitProtocolDecoder extends BaseProtocolDecoder {
channel.write(response);
}
- private static void decodeStructure(ChannelBuffer buf, Position position) {
+ private void decodeStructure(ChannelBuffer buf, Position position) {
short flags = buf.readUnsignedByte();
position.setValid(BitUtil.check(flags, 7));
if (BitUtil.check(flags, 1)) {