You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I modify an already present property in a Representation object?
There seems to be only withProperty(key, value) but it gives an exception if the key is already present. The getProperties() method returns a Collections.unmodifiableMap(properties) so I cannot use put()/remove() there.
Maybe an optional "boolean replaceIfExists" flag as last parameter for the with* Methods would be a solution?
The text was updated successfully, but these errors were encountered:
How can I modify an already present property in a Representation object?
There seems to be only withProperty(key, value) but it gives an exception if the key is already present. The getProperties() method returns a Collections.unmodifiableMap(properties) so I cannot use put()/remove() there.
Maybe an optional "boolean replaceIfExists" flag as last parameter for the with* Methods would be a solution?
The text was updated successfully, but these errors were encountered: