base/common/src/main/com/thesett/common/properties/ParsedProperties.java
public String setPropertyIfNull(String propname, String value)
    {
        String property = super.getProperty(propname);

        if (property == null)
        {
            super.setProperty(propname, value);

            return value;
        }
        else
        {
            return property;
        }
    }
public String setPropertyIfNull(String propname, String value)
    {
        String property = super.getProperty(propname);

        if (property == null)
        {
            super.setProperty(propname, value);

            return value;
        }
        else
        {
            return property;
        }
    }
public String setPropertyIfNull ( String propname , String value ) { String property = super . getProperty ( propname ) ; if ( property == null ) { super . setProperty ( propname , value ) ; return value ; } else { return property ; } }
Helper method for setting properties to defaults when they are not already set.

@param  propname The name of the system property to set.
@param  value    The value to set it to.

@return The value of the property after this method call.
Helper method for setting properties to defaults when they are not already set .