aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/ServerManager.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-09 11:50:03 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-09 11:50:03 +1300
commitdd2ff7183729388033bfdd03eeb464a59de229ae (patch)
tree8182ec09c616a9ac94064139213c5d4d0b7d6663 /src/org/traccar/ServerManager.java
parent0d400de04bd9b4cec101e2bcf58d5736cce91901 (diff)
downloadtrackermap-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.java2
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('.')));