aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/ServerManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/ServerManager.java')
-rw-r--r--src/org/traccar/ServerManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/ServerManager.java b/src/org/traccar/ServerManager.java
index d0d979adb..d7fb46070 100644
--- a/src/org/traccar/ServerManager.java
+++ b/src/org/traccar/ServerManager.java
@@ -43,7 +43,7 @@ public class ServerManager {
if (packageUrl.getProtocol().equals("jar")) {
String jarFileName = URLDecoder.decode(packageUrl.getFile(), "UTF-8");
JarFile jf = new JarFile(jarFileName.substring(5, jarFileName.indexOf("!")));
-
+
Enumeration<JarEntry> jarEntries = jf.entries();
while(jarEntries.hasMoreElements()){
String entryName = jarEntries.nextElement().getName();
@@ -59,7 +59,7 @@ public class ServerManager {
names.add(entryName.substring(0, entryName.lastIndexOf('.')));
}
}
-
+
for (String name : names) {
Class protocolClass = Class.forName(packageName + '.' + name);
if (BaseProtocol.class.isAssignableFrom(protocolClass)) {