public static long parseLong(String l, long defaultValue) {
    if (l == null || l.equals("")) {
      return defaultValue;
    }
    try {
      return (Long.parseLong(l));
    } 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