code: public static void setProperty(Properties props, String key, String value) {
          if (value == null) {
              return;
          }
          if (value.trim().length() < 1) {
              return;
          }
          props.setProperty(key, value);
      }
docs: Mutates the passed Properties props variable. Puts the key,value into the
  Map if the value is not null and is not empty.
  
  @deprecated See: {@link #setProperty(Map, String, String)}
  @param props Variable is mutated by this method.
  @param key
  @param value