diff options
author | Philipp Prangenberg <philipp.prangenberg@derkurier.de> | 2016-12-05 12:31:47 +0100 |
---|---|---|
committer | Philipp Prangenberg <philipp.prangenberg@derkurier.de> | 2016-12-05 12:31:47 +0100 |
commit | ece410b8fb0a0f186ed81c1a9fc8f0d4bbe0f545 (patch) | |
tree | 8bcb0d9c81134a4a05041f65f1c5f52311472200 | |
parent | c710550576a3882b7ecccc47f69b5c1528fa969d (diff) | |
download | trackermap-server-ece410b8fb0a0f186ed81c1a9fc8f0d4bbe0f545.tar.gz trackermap-server-ece410b8fb0a0f186ed81c1a9fc8f0d4bbe0f545.tar.bz2 trackermap-server-ece410b8fb0a0f186ed81c1a9fc8f0d4bbe0f545.zip |
Beautification
-rw-r--r-- | src/org/traccar/BaseProtocolDecoder.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/org/traccar/BaseProtocolDecoder.java b/src/org/traccar/BaseProtocolDecoder.java index 5b5cc3146..9e04fa5cd 100644 --- a/src/org/traccar/BaseProtocolDecoder.java +++ b/src/org/traccar/BaseProtocolDecoder.java @@ -41,12 +41,6 @@ public abstract class BaseProtocolDecoder extends ExtendedObjectDecoder { device.setCategory(Context.getConfig().getString("database.registerUnknown.defaultCategory", "default")); if(!defaultGroupName.equals("NOTDEFINED")){ -// for (Group g:Context.getDeviceManager().getAllGroups()) { -// if(g.getName().equalsIgnoreCase(defaultGroupName)){ -// device.setGroupId(g.getGroupId()); -// break; -// } -// } Group defaultGroup = Context.getDeviceManager().getGroupByName(defaultGroupName); if(defaultGroup != null) device.setGroupId(defaultGroup.getId()); |