public static int setSysPropertyIfNull(String propname, int value)
    {
        return Integer.parseInt(setSysPropertyIfNull(propname, Integer.toString(value)));
    }
public static int setSysPropertyIfNull ( String propname , int value ) { return Integer . parseInt ( setSysPropertyIfNull ( propname , Integer . toString ( value ) ) ) ; }
Helper method for setting system 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.