summaryrefslogtreecommitdiff
path: root/base/src/main/java/bjc
diff options
context:
space:
mode:
Diffstat (limited to 'base/src/main/java/bjc')
-rw-r--r--base/src/main/java/bjc/utils/ioutils/SimpleProperties.java7
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 &amp; 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;
}