Skip to content

Commit

Permalink
Merge pull request #5 from wafflecoffee/patch-1
Browse files Browse the repository at this point in the history
Remove debug printlns in MidnightConfig
  • Loading branch information
Motschen authored Nov 20, 2021
2 parents 5dc707a + c1815c2 commit 1bdbde0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/eu/midnightdust/lib/config/MidnightConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ private static void textField(EntryInfo info, Function<String,Number> f, Pattern

Number value = 0;
boolean inLimits = false;
System.out.println(((isNumber ^ s.isEmpty())));
System.out.println(!s.equals("-") && !s.equals("."));
info.error = null;
if (!(isNumber && s.isEmpty()) && !s.equals("-") && !s.equals(".")) {
value = f.apply(s);
Expand Down Expand Up @@ -400,4 +398,4 @@ public boolean shouldSkipField(FieldAttributes fieldAttributes) {
return fieldAttributes.getAnnotation(Entry.class) == null;
}
}
}
}

0 comments on commit 1bdbde0

Please sign in to comment.