code: public void removeProperty(final Collection<String> col,
                               final String name) {
      try {
        String v = getProperty(col, name);
  
        if (v == null) {
          return;
        }
  
        col.remove(name + "=" + v);
      } catch (Throwable t) {
        throw new RuntimeException(t);
      }
    }
docs: Remove a property stored as a String name = val
  
  @param col
  @param name