This is an automated email from the ASF dual-hosted git repository.
desruisseaux pushed a change to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git.
from ccb3baf Replace AbstractMetadata.hashCode() and
AbstractMetadata.prune() implementation by a MetadataVisitor. The intent is to
share more common implementation, in particular the non-obvious parts about
cycles and the use of Semaphores. For now we use MetadataVisitor only for
hashCode(), isEmpty() and prune(), but we should migrate more functionalities
in the future.
new c3cc025 Add a '.gitattributes' with some instruction about whether
files are text or binary.
new 02c51ef Replace PropertyAccessor.freeze(...) by the use of
MetadataVisitor.
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.gitattributes | 22 ++++
.../main/java/org/apache/sis/metadata/Freezer.java | 80 +++++++------
.../java/org/apache/sis/metadata/HashCode.java | 8 +-
.../org/apache/sis/metadata/MetadataStandard.java | 4 +-
.../org/apache/sis/metadata/MetadataVisitor.java | 65 +++++++----
.../sis/metadata/MetadataVisitorException.java | 100 ++++++++++++++++
.../apache/sis/metadata/ModifiableMetadata.java | 13 +--
.../org/apache/sis/metadata/PropertyAccessor.java | 126 ++++++++++-----------
.../main/java/org/apache/sis/metadata/Pruner.java | 14 ++-
.../java/org/apache/sis/internal/util/Cloner.java | 32 +++---
.../java/org/apache/sis/util/resources/Errors.java | 10 ++
.../apache/sis/util/resources/Errors.properties | 2 +
.../apache/sis/util/resources/Errors_fr.properties | 4 +-
13 files changed, 322 insertions(+), 158 deletions(-)
create mode 100644 .gitattributes
create mode 100644
core/sis-metadata/src/main/java/org/apache/sis/metadata/MetadataVisitorException.java