code: public void addAndOverwriteProperties(Map<String, String> additionalProperties) {
          additionalProperties.values().removeAll(Collections.singleton(null));
          for (Map.Entry<String, String> additionalPropertiesMap : additionalProperties.entrySet()) {
              if (!additionalPropertiesMap.getValue().trim().isEmpty()) {
                  properties.setProperty(additionalPropertiesMap.getKey(), additionalPropertiesMap.getValue());
                  warnUserOfPossibleErrors(additionalPropertiesMap.getKey(), properties);
              }
          }
      }
docs: Merge a Map of properties into our Properties object
  The additions will overwrite any existing properties
  
  @param additionalProperties Map to merge into our Properties object