aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/ServerManager.java
diff options
context:
space:
mode:
authorGábor Somogyi <gabor.g.somogyi@gmail.com>2016-05-02 21:35:50 +0200
committerGábor Somogyi <gabor.g.somogyi@gmail.com>2016-05-02 21:35:50 +0200
commit572db06a7bbe15bbf98cd695d06b701ff8652b77 (patch)
tree0bb841afa1e4ee79d75bb02e1d442f3366319a80 /src/org/traccar/ServerManager.java
parent97c2c3d47a7e6ef094038091649c130d2de4b016 (diff)
downloadtrackermap-server-572db06a7bbe15bbf98cd695d06b701ff8652b77.tar.gz
trackermap-server-572db06a7bbe15bbf98cd695d06b701ff8652b77.tar.bz2
trackermap-server-572db06a7bbe15bbf98cd695d06b701ff8652b77.zip
Minor java type refactor
Diffstat (limited to 'src/org/traccar/ServerManager.java')
-rw-r--r--src/org/traccar/ServerManager.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/org/traccar/ServerManager.java b/src/org/traccar/ServerManager.java
index 4f8e66130..1fc145869 100644
--- a/src/org/traccar/ServerManager.java
+++ b/src/org/traccar/ServerManager.java
@@ -71,14 +71,14 @@ public class ServerManager {
}
public void start() {
- for (Object server: serverList) {
- ((TrackerServer) server).start();
+ for (TrackerServer server: serverList) {
+ server.start();
}
}
public void stop() {
- for (Object server: serverList) {
- ((TrackerServer) server).stop();
+ for (TrackerServer server: serverList) {
+ server.stop();
}
// Release resources
@@ -108,4 +108,5 @@ public class ServerManager {
return result;
}
+
}