sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (SIS-194) DefaultResolution.isEmpty() and prune() do not detect when RepresentativeFraction is empty
Date Mon, 05 Oct 2015 15:44:27 GMT

     [ https://issues.apache.org/jira/browse/SIS-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Desruisseaux closed SIS-194.
-----------------------------------

> DefaultResolution.isEmpty() and prune() do not detect when RepresentativeFraction is
empty
> ------------------------------------------------------------------------------------------
>
>                 Key: SIS-194
>                 URL: https://issues.apache.org/jira/browse/SIS-194
>             Project: Spatial Information Systems
>          Issue Type: Bug
>          Components: Metadata
>    Affects Versions: 0.3, 0.4, 0.5
>            Reporter: Martin Desruisseaux
>            Assignee: Martin Desruisseaux
>            Priority: Minor
>             Fix For: 0.6
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message