diff options
Diffstat (limited to 'base/src/main/java/bjc/utils/ioutils/RuleBasedConfigReader.java')
| -rw-r--r-- | base/src/main/java/bjc/utils/ioutils/RuleBasedConfigReader.java | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/base/src/main/java/bjc/utils/ioutils/RuleBasedConfigReader.java b/base/src/main/java/bjc/utils/ioutils/RuleBasedConfigReader.java index 9e4bbb6..9b46c06 100644 --- a/base/src/main/java/bjc/utils/ioutils/RuleBasedConfigReader.java +++ b/base/src/main/java/bjc/utils/ioutils/RuleBasedConfigReader.java @@ -101,27 +101,27 @@ public class RuleBasedConfigReader<E> { /* * Ignore blank line without an open rule */ - if(isRuleOpen == false) + if(isRuleOpen == false) { /* * Do nothing */ return false; - else { - /* - * Nothing happens on rule end - */ - if(end != null) { - /* - * Process the rule ending - */ - end.accept(state); - } + } + /* + * Nothing happens on rule end + */ + if(end != null) { /* - * Return a closed rule + * Process the rule ending */ - return false; + end.accept(state); } + + /* + * Return a closed rule + */ + return false; } /** |
