public static Double getDouble(Properties p, String name, Double defaultValue) {
return NumberUtil.toDoubleObject(p.getProperty(name), defaultValue);
}
public static String getString(Properties p, String name, String defaultValue) {
return p.getProperty(name, defaultValue);
<BUG>}
private static void checkEnvName(String envName) {
if (envName == null || envName.indexOf('.') != -1) {
throw new IllegalArgumentException("envName " + envName + " has dot which is not valid");
}</BUG>
}

public static Double getDouble(Properties p, String name, Double defaultValue) {
return NumberUtil.toDoubleObject(p.getProperty(name), defaultValue);
}
public static String getString(Properties p, String name, String defaultValue) {
return p.getProperty(name, defaultValue);
}
