public static int parseInt(String i, int defaultValue) {
    if (i == null || i.equals("")) {
      return defaultValue;
    }
    try {
      return (Integer.parseInt(i));
    } catch (NumberFormatException nfe) {
      return defaultValue;
    }
  }
TODO To change the template for this generated type comment go to Window - Preferences - Java -
Code Style - Code Templates
geode-core/src/main/java/org/apache/geode/internal/cache/PRSystemPropertyGetter.java