code: public void setStringIfNotNull(@NotNull final String key, @Nullable final String value) {
          if (null != value) {
              setString(key, value);
          }
      }
docs: Sets a property value only if the value is not null.
  
  @param key the key for the property
  @param value the value for the property