diff options
Diffstat (limited to 'src/org/traccar/ServerManager.java')
-rw-r--r-- | src/org/traccar/ServerManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/ServerManager.java b/src/org/traccar/ServerManager.java index 7fbefc94e..e42e6dcd6 100644 --- a/src/org/traccar/ServerManager.java +++ b/src/org/traccar/ServerManager.java @@ -33,9 +33,9 @@ public class ServerManager { private final List<TrackerServer> serverList = new LinkedList<>(); - public void init() throws Exception { + public ServerManager() throws Exception { - List<String> names = new LinkedList<String>(); + List<String> names = new LinkedList<>(); String packageName = "org.traccar.protocol"; String packagePath = packageName.replace('.', '/'); URL packageUrl = Thread.currentThread().getContextClassLoader().getResource(packagePath); |