code: public void addProperty(String name, String... values) {
          List<String> valueList = new ArrayList<String>();
          for (String value : values) {
              valueList.add(value.trim());
          }
          properties.put(name.trim(), valueList);
      }
docs: Add a property with the given name and the given list of values to this Properties object. Name
  and values are trimmed before the property is added.
  
  @param name the name of the property, must not be <code>null</code>.
  @param values the values of the property, must no be <code>null</code>,
  none of the  values must be <code>null</code>