From 26966125129d458e988f754ee4b0d88b362e55ec Mon Sep 17 00:00:00 2001 From: "Benjamin J. Culkin" Date: Wed, 19 Sep 2018 13:03:37 -0300 Subject: Minor tweak --- base/src/main/java/bjc/utils/ioutils/SimpleProperties.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'base/src/main/java/bjc') 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 { * * 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 { /* * Skip blank lines/comments */ - if(ln.equals("")) { - continue; - } - if(ln.startsWith("#")) { + if(ln.equals("") || ln.startsWith("#")) { continue; } -- cgit v1.2.3