code: public static String getProperty(String propertyName, String defaultValue) {
          String value = get(propertyName);
          return value == null ? defaultValue : value;
      }
docs: Retrieve the value of the specified property from framework/system properties.
  
  @param propertyName Name of property
  @param defaultValue Default value to return if property is not set
  @return Property or default value as a String