Description
Newly constructed DefaultRepresentativeFraction, or instance on which setScale(Double.NaN) has been invoked, should be considered empty. But call to DefaultResolution.isEmpty() does not detect those cases.
This because unlike all other metadata object, DefaultRepresentativeFraction does not extend AbstractMetadata. It extends Number instead. The fix to to have DefaultRepresentativeFraction to implement the Emptiable interface.