DefaultRangeDimension changes for revisions 24867:24990

Type of property values changed from LocalName to MemberName. This change has been forced by a GeoAPI change. Reverting this change causes a compilation failure, which is resolved by restoring the MemberName types as required by GeoAPI interfaces. So rewriting this contribution produces identical result.

Action: all contributions forced by changes in GeoAPI interfaces (mostly import statements and method signatures) have been rewritten from scratch by creating an empty Java class implementing the interface, clicking on the "Implement all abstract methods" contextual menu in NetBeans, removing the <? extends> part in parameterized type of collections, adding the synchronized keyword (for now) and finally adding the corresponding private fields. This action has been committed in the Apache SIS JDK7 branch at revision 1458238.

Command line:

svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r24867:24990 https://svn.osgeo.org/geotools/trunk/modules/library/metadata/src/main/java/org/geotools/metadata/iso/content/RangeDimensionImpl.java
Revision 24867Revision 24990
package org.geotools.metadata.iso.content;

// OpenGIS dependencies
import org.opengis.metadata.content.RangeDimension;
import org.opengis.util.InternationalString;
import org.opengis.util.LocalName;

// Geotools dependencies
import org.geotools.metadata.iso.MetadataEntity;
import org.geotools.resources.Utilities;


/**
 * Information on the range of each dimension of a cell measurement value.
 *
package org.geotools.metadata.iso.content;

// OpenGIS dependencies
import org.geotools.metadata.iso.MetadataEntity;
import org.geotools.resources.Utilities;
import org.opengis.metadata.content.RangeDimension;
import org.opengis.util.InternationalString;
import org.opengis.util.MemberName;


/**
 * Information on the range of each dimension of a cell measurement value.
 *
 * Number that uniquely identifies instances of bands of wavelengths on which a sensor
 * operates.
 */
private LocalName sequenceIdentifier;

/**
 * Description of the range of a cell measurement value.
 * Number that uniquely identifies instances of bands of wavelengths on which a sensor
 * operates.
 */
private MemberName sequenceIdentifier;

/**
 * Description of the range of a cell measurement value.
 * Returns the number that uniquely identifies instances of bands of wavelengths
 * on which a sensor operates.
 */
public LocalName getSequenceIdentifier() {
    return sequenceIdentifier;
}
 * Returns the number that uniquely identifies instances of bands of wavelengths
 * on which a sensor operates.
 */
public MemberName getSequenceIdentifier() {
    return sequenceIdentifier;
}
 * Set the number that uniquely identifies instances of bands of wavelengths
 * on which a sensor operates.
 */
public synchronized void setSequenceIdentifier(final LocalName newValue) {
    checkWritePermission();
    sequenceIdentifier = newValue;
}
 * Set the number that uniquely identifies instances of bands of wavelengths
 * on which a sensor operates.
 */
public synchronized void setSequenceIdentifier(final MemberName newValue) {
    checkWritePermission();
    sequenceIdentifier = newValue;
}
 */
protected void freeze() {
    super.freeze();
    sequenceIdentifier = (LocalName)           unmodifiable(sequenceIdentifier);
    descriptor         = (InternationalString) unmodifiable(descriptor);
}
 */
protected void freeze() {
    super.freeze();
    sequenceIdentifier = (MemberName)          unmodifiable(sequenceIdentifier);
    descriptor         = (InternationalString) unmodifiable(descriptor);
}