diff options
| author | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2018-09-19 13:03:37 -0300 |
|---|---|---|
| committer | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2018-09-19 13:03:37 -0300 |
| commit | 26966125129d458e988f754ee4b0d88b362e55ec (patch) | |
| tree | 29d2b0272695579aa451909d4e6483b9fe42c1d7 /base/src/main | |
| parent | a77a3f9094f4c11cfa9ba3463814eb61d880486f (diff) | |
Minor tweak
Diffstat (limited to 'base/src/main')
| -rw-r--r-- | base/src/main/java/bjc/utils/ioutils/SimpleProperties.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/base/src/main/java/bjc/utils/ioutils/SimpleProperties.java b/base/src/main/java/bjc/utils/ioutils/SimpleProperties.java index 7043ed2..4f41c50 100644 --- a/base/src/main/java/bjc/utils/ioutils/SimpleProperties.java +++ b/base/src/main/java/bjc/utils/ioutils/SimpleProperties.java @@ -29,7 +29,7 @@ public class SimpleProperties implements Map<String, String> { * * The format is the name, a space, then the body. * - * All leading/trailing spaces from the name & body are removed. + * All leading/trailing spaces from the name & body are removed. * * @param is * The stream to read from. @@ -45,10 +45,7 @@ public class SimpleProperties implements Map<String, String> { /* * Skip blank lines/comments */ - if(ln.equals("")) { - continue; - } - if(ln.startsWith("#")) { + if(ln.equals("") || ln.startsWith("#")) { continue; } |
