diff options
author | Gábor Somogyi <gabor.g.somogyi@gmail.com> | 2016-05-06 00:00:33 +0200 |
---|---|---|
committer | Gábor Somogyi <gabor.g.somogyi@gmail.com> | 2016-05-06 00:00:33 +0200 |
commit | 393192ff0253e74e1ada9cb364a1c05cc7ac7e23 (patch) | |
tree | ea07f1c29c9f9124b205e9b1df46118b8a11825c /src/org/traccar/ServerManager.java | |
parent | 69c6d76fa6f5aba94477fae71fc348cd464ba2ac (diff) | |
download | trackermap-server-393192ff0253e74e1ada9cb364a1c05cc7ac7e23.tar.gz trackermap-server-393192ff0253e74e1ada9cb364a1c05cc7ac7e23.tar.bz2 trackermap-server-393192ff0253e74e1ada9cb364a1c05cc7ac7e23.zip |
Rename SupportedCommand to CommandType
Diffstat (limited to 'src/org/traccar/ServerManager.java')
-rw-r--r-- | src/org/traccar/ServerManager.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/org/traccar/ServerManager.java b/src/org/traccar/ServerManager.java index 5e59851f7..cf49b3e2c 100644 --- a/src/org/traccar/ServerManager.java +++ b/src/org/traccar/ServerManager.java @@ -15,7 +15,7 @@ */ package org.traccar; -import org.traccar.model.SupportedCommand; +import org.traccar.model.CommandType; import java.io.File; import java.net.URI; @@ -98,16 +98,16 @@ public class ServerManager { } } - public Collection<SupportedCommand> getProtocolSuppportedCommands(String protocol) { - List<SupportedCommand> result = new ArrayList<>(); + public Collection<CommandType> getProtocolCommandTypes(String protocol) { + List<CommandType> result = new ArrayList<>(); if (protocol != null) { BaseProtocol baseProtocol = protocols.get(protocol); if (baseProtocol != null) { for (String commandKey : baseProtocol.getSupportedCommands()) { - SupportedCommand supportedCommand = new SupportedCommand(); - supportedCommand.setKey(commandKey); - result.add(supportedCommand); + CommandType commandType = new CommandType(); + commandType.setKey(commandKey); + result.add(commandType); } } } |