diff options
Diffstat (limited to 'src/com/p4square')
| -rw-r--r-- | src/com/p4square/grow/config/Config.java | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/src/com/p4square/grow/config/Config.java b/src/com/p4square/grow/config/Config.java index d739d61..7c9cc0d 100644 --- a/src/com/p4square/grow/config/Config.java +++ b/src/com/p4square/grow/config/Config.java @@ -100,6 +100,13 @@ public class Config {      public String getString(final String key, final String defaultValue) {          String result; +        // Command line properties trump all. +        result = System.getProperty(key); +        if (result != null) { +            LOG.debug("Reading System.getProperty(" + key + "). Got result = { " + result + " }"); +            return result; +        } +          final String domainKey = mDomain + "." + key;          result = mProperties.getProperty(domainKey);          if (result != null) { | 
