private static String _sysProp(String key, Object defaultValue) { String property = (String) systemProperties.get(key); if (property == null) { property = env.get(key); if (property == null) { String newKey = Str.underBarCase(key); property = env.get(newKey); if (property == null && defaultValue != DEFAULT_NULL_NOT_EMPTY) { property = Conversions.toString(defaultValue); } } } return property; }
public static String putSysProp(String key, Object value) { return (String) systemProperties.put(key, Conversions.toString(value)); }