Skip to content

Commit

Permalink
code clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
NightDev701 committed Jan 2, 2024
1 parent df52aa2 commit 4c4492e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/pl/nightdev701/io/ConfigurationManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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;
}
Expand Down

0 comments on commit 4c4492e

Please sign in to comment.