diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-09 11:50:03 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-09 11:50:03 +1300 |
commit | dd2ff7183729388033bfdd03eeb464a59de229ae (patch) | |
tree | 8182ec09c616a9ac94064139213c5d4d0b7d6663 /src/org/traccar/ServerManager.java | |
parent | 0d400de04bd9b4cec101e2bcf58d5736cce91901 (diff) | |
download | trackermap-server-dd2ff7183729388033bfdd03eeb464a59de229ae.tar.gz trackermap-server-dd2ff7183729388033bfdd03eeb464a59de229ae.tar.bz2 trackermap-server-dd2ff7183729388033bfdd03eeb464a59de229ae.zip |
Fix more check style issues
Diffstat (limited to 'src/org/traccar/ServerManager.java')
-rw-r--r-- | src/org/traccar/ServerManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/ServerManager.java b/src/org/traccar/ServerManager.java index bf5232420..27e0fda05 100644 --- a/src/org/traccar/ServerManager.java +++ b/src/org/traccar/ServerManager.java @@ -43,7 +43,7 @@ public class ServerManager { String jarFileName = URLDecoder.decode(packageUrl.getFile(), "UTF-8"); try (JarFile jf = new JarFile(jarFileName.substring(5, jarFileName.indexOf("!")))) { Enumeration<JarEntry> jarEntries = jf.entries(); - while(jarEntries.hasMoreElements()){ + while (jarEntries.hasMoreElements()) { String entryName = jarEntries.nextElement().getName(); if (entryName.startsWith(packagePath) && entryName.length() > packagePath.length() + 5) { names.add(entryName.substring(packagePath.length() + 1, entryName.lastIndexOf('.'))); |