code: public static String format(String format, Object... args) {
  		if (format != null && args != null && args.length > 0) {
  			try {
  				return String.format(format, args);
  			} catch (Exception e) {
  				android.util.Log.e("Apptentive", "Error while formatting String: " + e.getMessage()); // TODO: better system logging
  			}
  		}
  
  		return format;
  	}
docs: Safe <code>String.format</code>