Those were useful in the initial iterations where an attribute's default value was stored internally as null to indicate that no value was specified.
However it was decided later during development that this should follow the JDK pattern of "not specified" equating to the default value being stored. Therefore, a null check to return the passed in defaultValue is pointless.
Drop the following methods:
Those were useful in the initial iterations where an attribute's default value was stored internally as
null
to indicate that no value was specified.However it was decided later during development that this should follow the JDK pattern of "not specified" equating to the default value being stored. Therefore, a null check to return the passed in defaultValue is pointless.