taskadapter / redmine-java-api

Redmine Java API
Apache License 2.0
269 stars 162 forks source link

#61 save null values if explicitly set #263

Closed alexeyOnGitHub closed 8 years ago

alexeyOnGitHub commented 8 years ago

this approach uses a property "storage" that keeps track of whether or not a field was set (even if it was set to null). there were several other possible approaches like using Optional class in Java 8 or implementing something custom like method listeners, etc. "property storage" was selected due to several considerations.