From 2b5f9090882a4ddb5ca72d47b74ca6466e2240d0 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Fri, 11 Nov 2016 13:44:41 +0500 Subject: Remove static --- src/org/traccar/protocol/GranitProtocolDecoder.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/org') 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)) { -- cgit v1.2.3