diff options
| author | bjculkin <bjculkin@mix.wvu.edu> | 2018-02-12 22:57:29 -0500 |
|---|---|---|
| committer | bjculkin <bjculkin@mix.wvu.edu> | 2018-02-12 22:57:29 -0500 |
| commit | 040870eced4dc3e273313b9ec2ce7bb88d9cc6a0 (patch) | |
| tree | 4712f4fc1dd1c6bccac7a1de98921f78ec6d326a /base/src/main/java/bjc/utils/ioutils/RuleBasedConfigReader.java | |
| parent | df94066e3af02ff02d5ab4d033a3d603f743234c (diff) | |
Commenting
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; } /** |
