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] [Updated] (SIS-107) Hole in metadata "unmodifiable" mode
Date Wed, 07 Oct 2015 12:39:26 GMT

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

Martin Desruisseaux updated SIS-107:
------------------------------------
    Description: 
Metadata object can be declared unmodifiable. However there is at least one, maybe two, holes
where aspects of unmodifiable metadata can still be modified:

* {{DefaultRepresentativeFraction}} is still mutable, because it extends {{Number}} rather
than {{AbstractMetadata}}.
* We need to verify that {{EnumSet}} and {{CodeListSet}} are properly wrapped in unmodifiable
set.
* We need an unmodifiable implementation of {{IdentifierMap}}.


  was:
Metadata object can be declared unmodifiable. However there is at least one, maybe two, holes
where aspects of unmodifiable metadata can still be modified:

* {{DefaultRepresentativeFraction}} is still mutable, because it extends {{Number}} rather
than {{AbstractMetadata}}.
* We need to verify that {{EnumSet}} and {{CodeListSet}} are properly wrapped in unmodifiable
set.

Note that in the {{CodeListSet}} case, it may be more efficient to set a flag instead.



> Hole in metadata "unmodifiable" mode
> ------------------------------------
>
>                 Key: SIS-107
>                 URL: https://issues.apache.org/jira/browse/SIS-107
>             Project: Spatial Information Systems
>          Issue Type: Bug
>          Components: Metadata
>    Affects Versions: 0.3, 0.4, 0.5, 0.6
>            Reporter: Martin Desruisseaux
>            Assignee: Martin Desruisseaux
>
> Metadata object can be declared unmodifiable. However there is at least one, maybe two,
holes where aspects of unmodifiable metadata can still be modified:
> * {{DefaultRepresentativeFraction}} is still mutable, because it extends {{Number}} rather
than {{AbstractMetadata}}.
> * We need to verify that {{EnumSet}} and {{CodeListSet}} are properly wrapped in unmodifiable
set.
> * We need an unmodifiable implementation of {{IdentifierMap}}.



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

Mime
View raw message