diff --git a/src/main/java/pl/nightdev701/io/ConfigurationManager.java b/src/main/java/pl/nightdev701/io/ConfigurationManager.java index 15528be..87eca5c 100644 --- a/src/main/java/pl/nightdev701/io/ConfigurationManager.java +++ b/src/main/java/pl/nightdev701/io/ConfigurationManager.java @@ -67,7 +67,7 @@ public boolean isSet(String base) { BufferedReader reader = new BufferedReader(fileReader); String line; while ((line = reader.readLine()) != null) { - if (line.contains(base+"=")) { + if (line.contains(base + "=")) { reader.close(); return true; } @@ -83,7 +83,7 @@ public boolean isSet(String base) { public void add(String base, String value) { - if(isSet(base)){ + if (isSet(base)) { logger.log(Level.WARNING, "Line already exist: " + base); return; }