diff options
Diffstat (limited to 'src/org/traccar/protocol/SpotProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/SpotProtocolDecoder.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/SpotProtocolDecoder.java b/src/org/traccar/protocol/SpotProtocolDecoder.java index 16e287b6c..78b2b0487 100644 --- a/src/org/traccar/protocol/SpotProtocolDecoder.java +++ b/src/org/traccar/protocol/SpotProtocolDecoder.java @@ -21,6 +21,7 @@ import io.netty.handler.codec.http.FullHttpRequest; import io.netty.handler.codec.http.HttpResponseStatus; import org.traccar.BaseHttpProtocolDecoder; import org.traccar.DeviceSession; +import org.traccar.Protocol; import org.traccar.helper.DateUtil; import org.traccar.model.Position; import org.w3c.dom.Document; @@ -45,7 +46,7 @@ public class SpotProtocolDecoder extends BaseHttpProtocolDecoder { private XPath xPath; private XPathExpression messageExpression; - public SpotProtocolDecoder(SpotProtocol protocol) { + public SpotProtocolDecoder(Protocol protocol) { super(protocol); try { documentBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); |