From 9ca9f706524e5ac72d805dcafc21c12ccc109e5e Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 25 Dec 2020 17:56:07 -0800 Subject: Move proto to subfolder --- src/main/java/org/traccar/protocol/OmnicommProtocolDecoder.java | 2 +- src/main/java/org/traccar/protocol/StarLinkProtocolDecoder.java | 2 +- src/main/proto/OmnicommMessage.proto | 2 +- src/main/proto/StarLinkMessage.proto | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main') diff --git a/src/main/java/org/traccar/protocol/OmnicommProtocolDecoder.java b/src/main/java/org/traccar/protocol/OmnicommProtocolDecoder.java index 99f5c074c..f90d1f2b3 100644 --- a/src/main/java/org/traccar/protocol/OmnicommProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/OmnicommProtocolDecoder.java @@ -28,7 +28,7 @@ import org.traccar.helper.BitUtil; import org.traccar.helper.Checksum; import org.traccar.helper.UnitsConverter; import org.traccar.model.Position; -import org.traccar.protobuf.OmnicommMessageOuterClass; +import org.traccar.protobuf.omnicomm.OmnicommMessageOuterClass; import java.net.SocketAddress; import java.util.Date; diff --git a/src/main/java/org/traccar/protocol/StarLinkProtocolDecoder.java b/src/main/java/org/traccar/protocol/StarLinkProtocolDecoder.java index ba079bff0..d412c23b5 100644 --- a/src/main/java/org/traccar/protocol/StarLinkProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/StarLinkProtocolDecoder.java @@ -27,7 +27,7 @@ import org.traccar.helper.UnitsConverter; import org.traccar.model.CellTower; import org.traccar.model.Network; import org.traccar.model.Position; -import org.traccar.protobuf.StarLinkMessage; +import org.traccar.protobuf.starlink.StarLinkMessage; import java.net.SocketAddress; import java.text.DateFormat; diff --git a/src/main/proto/OmnicommMessage.proto b/src/main/proto/OmnicommMessage.proto index a3b5b6138..f4dd1ebdc 100644 --- a/src/main/proto/OmnicommMessage.proto +++ b/src/main/proto/OmnicommMessage.proto @@ -1,6 +1,6 @@ syntax = "proto2"; -package org.traccar.protobuf; +package org.traccar.protobuf.omnicomm; message OmnicommMessage { diff --git a/src/main/proto/StarLinkMessage.proto b/src/main/proto/StarLinkMessage.proto index 167b9f283..71d0e474c 100644 --- a/src/main/proto/StarLinkMessage.proto +++ b/src/main/proto/StarLinkMessage.proto @@ -1,6 +1,6 @@ syntax = "proto2"; -package org.traccar.protobuf; +package org.traccar.protobuf.starlink; // StarLink Message message StarLink_Message { -- cgit v1.2.3