diff options
author | Abyss777 <abyss@fox5.ru> | 2017-09-13 09:05:21 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-09-13 09:05:21 +0500 |
commit | 7b3a3ca4592688f0946076628aa86241a41b1aa8 (patch) | |
tree | af41bb7391d62d57323ecd3c3d6b476cbf14d974 /src/org/traccar/database/CommandsManager.java | |
parent | 925806fe70e10e47bcc12eb8bcc4fe21a9ece220 (diff) | |
download | trackermap-server-7b3a3ca4592688f0946076628aa86241a41b1aa8.tar.gz trackermap-server-7b3a3ca4592688f0946076628aa86241a41b1aa8.tar.bz2 trackermap-server-7b3a3ca4592688f0946076628aa86241a41b1aa8.zip |
- Rename functions "isXxx" to "getUserXxx"
- Rename function to "getSupportedCommands"
- Some cleanup
Diffstat (limited to 'src/org/traccar/database/CommandsManager.java')
-rw-r--r-- | src/org/traccar/database/CommandsManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/database/CommandsManager.java b/src/org/traccar/database/CommandsManager.java index 9f97c929c..ded12e0d2 100644 --- a/src/org/traccar/database/CommandsManager.java +++ b/src/org/traccar/database/CommandsManager.java @@ -81,7 +81,7 @@ public class CommandsManager extends ExtendedObjectManager<Command> { } } - public Collection<Long> getProperCommands(long deviceId, boolean textChannel) { + public Collection<Long> getSupportedCommands(long deviceId, boolean textChannel) { List<Long> result = new ArrayList<>(); Position lastPosition = Context.getIdentityManager().getLastPosition(deviceId); for (long commandId : getAllDeviceItems(deviceId)) { |