sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1461882 [2/2] - in /sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata: ./ iso/ iso/acquisition/ iso/citation/ iso/constraint/ iso/content/ iso/distribution/ iso/extent/ iso/identification/ iso/lineage/ iso/maintenance/ i...
Date Wed, 27 Mar 2013 22:26:24 GMT
Modified: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/identification/DefaultDataIdentification.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/identification/DefaultDataIdentification.java?rev=1461882&r1=1461881&r2=1461882&view=diff
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/identification/DefaultDataIdentification.java
[UTF-8] (original)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/identification/DefaultDataIdentification.java
[UTF-8] Wed Mar 27 22:26:21 2013
@@ -120,8 +120,8 @@ public class DefaultDataIdentification e
                                      final TopicCategory topicCategory)
     {
         super(citation, abstracts);
-        languages = singleton(Locale.class, language);
-        topicCategories = singleton(TopicCategory.class, topicCategory);
+        languages = singleton(language, Locale.class);
+        topicCategories = singleton(topicCategory, TopicCategory.class);
     }
 
     /**
@@ -160,7 +160,7 @@ public class DefaultDataIdentification e
      * @param newValues The new spatial representation types.
      */
     public synchronized void setSpatialRepresentationTypes(final Collection<? extends
SpatialRepresentationType> newValues) {
-        spatialRepresentationTypes = copyCollection(newValues, spatialRepresentationTypes,
SpatialRepresentationType.class);
+        spatialRepresentationTypes = writeCollection(newValues, spatialRepresentationTypes,
SpatialRepresentationType.class);
     }
 
     /**
@@ -180,7 +180,7 @@ public class DefaultDataIdentification e
      * @param newValues The new spatial resolutions.
      */
     public synchronized void setSpatialResolutions(final Collection<? extends Resolution>
newValues) {
-        spatialResolutions = copyCollection(newValues, spatialResolutions, Resolution.class);
+        spatialResolutions = writeCollection(newValues, spatialResolutions, Resolution.class);
     }
 
     /**
@@ -198,7 +198,7 @@ public class DefaultDataIdentification e
      * @param newValues The new languages.
      */
     public synchronized void setLanguages(final Collection<? extends Locale> newValues)
 {
-        languages = copyCollection(newValues, languages, Locale.class);
+        languages = writeCollection(newValues, languages, Locale.class);
     }
 
     /**
@@ -216,7 +216,7 @@ public class DefaultDataIdentification e
      * @param newValues The new character sets.
      */
     public synchronized void setCharacterSets(final Collection<? extends CharacterSet>
newValues) {
-        characterSets = copyCollection(newValues, characterSets, CharacterSet.class);
+        characterSets = writeCollection(newValues, characterSets, CharacterSet.class);
     }
 
     /**
@@ -234,7 +234,7 @@ public class DefaultDataIdentification e
      * @param newValues The new topic categories.
      */
     public synchronized void setTopicCategories(final Collection<? extends TopicCategory>
newValues) {
-        topicCategories = copyCollection(newValues, topicCategories, TopicCategory.class);
+        topicCategories = writeCollection(newValues, topicCategories, TopicCategory.class);
     }
 
     /**
@@ -273,7 +273,7 @@ public class DefaultDataIdentification e
      * @param newValues The new extents
      */
     public synchronized void setExtents(final Collection<? extends Extent> newValues)
{
-        extents = copyCollection(newValues, extents, Extent.class);
+        extents = writeCollection(newValues, extents, Extent.class);
     }
 
     /**

Modified: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/identification/DefaultKeywords.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/identification/DefaultKeywords.java?rev=1461882&r1=1461881&r2=1461882&view=diff
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/identification/DefaultKeywords.java
[UTF-8] (original)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/identification/DefaultKeywords.java
[UTF-8] Wed Mar 27 22:26:21 2013
@@ -79,7 +79,7 @@ public class DefaultKeywords extends ISO
      *                the subject, or {@code null} if none.
      */
     public DefaultKeywords(final CharSequence keyword) {
-        keywords = singleton(InternationalString.class, Types.toInternationalString(keyword));
+        keywords = singleton(Types.toInternationalString(keyword), InternationalString.class);
     }
 
     /**
@@ -118,7 +118,7 @@ public class DefaultKeywords extends ISO
      * @param newValues The new keywords.
      */
     public synchronized void setKeywords(final Collection<? extends InternationalString>
newValues) {
-        keywords = copyCollection(newValues, keywords, InternationalString.class);
+        keywords = writeCollection(newValues, keywords, InternationalString.class);
     }
 
     /**

Modified: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/identification/DefaultUsage.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/identification/DefaultUsage.java?rev=1461882&r1=1461881&r2=1461882&view=diff
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/identification/DefaultUsage.java
[UTF-8] (original)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/identification/DefaultUsage.java
[UTF-8] Wed Mar 27 22:26:21 2013
@@ -93,7 +93,7 @@ public class DefaultUsage extends ISOMet
     {
         this(); // Initialize the date field.
         this.specificUsage   = Types.toInternationalString(specificUsage);
-        this.userContactInfo = singleton(ResponsibleParty.class, userContactInfo);
+        this.userContactInfo = singleton(userContactInfo, ResponsibleParty.class);
     }
 
     /**
@@ -194,6 +194,6 @@ public class DefaultUsage extends ISOMet
      * @param newValues The new user contact info.
      */
     public synchronized void setUserContactInfo(final Collection<? extends ResponsibleParty>
newValues) {
-        userContactInfo = copyCollection(newValues, userContactInfo, ResponsibleParty.class);
+        userContactInfo = writeCollection(newValues, userContactInfo, ResponsibleParty.class);
     }
 }

Modified: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/lineage/DefaultLineage.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/lineage/DefaultLineage.java?rev=1461882&r1=1461881&r2=1461882&view=diff
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/lineage/DefaultLineage.java
[UTF-8] (original)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/lineage/DefaultLineage.java
[UTF-8] Wed Mar 27 22:26:21 2013
@@ -135,7 +135,7 @@ public class DefaultLineage extends ISOM
      * @param newValues The new process steps.
      */
     public synchronized void setProcessSteps(final Collection<? extends ProcessStep>
newValues)  {
-        processSteps = copyCollection(newValues, processSteps, ProcessStep.class);
+        processSteps = writeCollection(newValues, processSteps, ProcessStep.class);
     }
 
     /**
@@ -153,6 +153,6 @@ public class DefaultLineage extends ISOM
      * @param newValues The new sources.
      */
     public synchronized void setSources(final Collection<? extends Source> newValues)
{
-        sources = copyCollection(newValues, sources, Source.class);
+        sources = writeCollection(newValues, sources, Source.class);
     }
 }

Modified: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/lineage/DefaultProcessStep.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/lineage/DefaultProcessStep.java?rev=1461882&r1=1461881&r2=1461882&view=diff
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/lineage/DefaultProcessStep.java
[UTF-8] (original)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/lineage/DefaultProcessStep.java
[UTF-8] Wed Mar 27 22:26:21 2013
@@ -220,7 +220,7 @@ public class DefaultProcessStep extends 
      * @param newValues The new processors.
      */
     public synchronized void setProcessors(final Collection<? extends ResponsibleParty>
newValues) {
-        processors = copyCollection(newValues, processors, ResponsibleParty.class);
+        processors = writeCollection(newValues, processors, ResponsibleParty.class);
     }
 
     /**
@@ -239,7 +239,7 @@ public class DefaultProcessStep extends 
      * @param newValues The new sources.
      */
     public synchronized void setSources(final Collection<? extends Source> newValues)
{
-        sources = copyCollection(newValues, sources, Source.class);
+        sources = writeCollection(newValues, sources, Source.class);
     }
 
     /**
@@ -257,7 +257,7 @@ public class DefaultProcessStep extends 
      * @param newValues The new output values.
      */
     public synchronized void setOutputs(final Collection<? extends Source> newValues)
{
-        outputs = copyCollection(newValues, outputs, Source.class);
+        outputs = writeCollection(newValues, outputs, Source.class);
     }
 
     /**
@@ -298,6 +298,6 @@ public class DefaultProcessStep extends 
      * @param newValues The new process step report values.
      */
     public synchronized void setReports(final Collection<? extends ProcessStepReport>
newValues) {
-        reports = copyCollection(newValues, reports, ProcessStepReport.class);
+        reports = writeCollection(newValues, reports, ProcessStepReport.class);
     }
 }

Modified: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/lineage/DefaultProcessing.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/lineage/DefaultProcessing.java?rev=1461882&r1=1461881&r2=1461882&view=diff
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/lineage/DefaultProcessing.java
[UTF-8] (original)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/lineage/DefaultProcessing.java
[UTF-8] Wed Mar 27 22:26:21 2013
@@ -144,7 +144,7 @@ public class DefaultProcessing extends I
      * @param newValues The new software references values.
      */
     public synchronized void setSoftwareReferences(final Collection<? extends Citation>
newValues) {
-        softwareReferences = copyCollection(newValues, softwareReferences, Citation.class);
+        softwareReferences = writeCollection(newValues, softwareReferences, Citation.class);
     }
 
     /**
@@ -181,7 +181,7 @@ public class DefaultProcessing extends I
      * @param newValues The new documentations values.
      */
     public synchronized void setDocumentations(final Collection<? extends Citation>
newValues) {
-        documentations = copyCollection(newValues, documentations, Citation.class);
+        documentations = writeCollection(newValues, documentations, Citation.class);
     }
 
     /**
@@ -221,6 +221,6 @@ public class DefaultProcessing extends I
      * @param newValues The new algorithms values.
      */
     public synchronized void setAlgorithms(final Collection<? extends Algorithm> newValues)
{
-        algorithms = copyCollection(newValues, algorithms, Algorithm.class);
+        algorithms = writeCollection(newValues, algorithms, Algorithm.class);
     }
 }

Modified: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/lineage/DefaultSource.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/lineage/DefaultSource.java?rev=1461882&r1=1461881&r2=1461882&view=diff
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/lineage/DefaultSource.java
[UTF-8] (original)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/lineage/DefaultSource.java
[UTF-8] Wed Mar 27 22:26:21 2013
@@ -232,7 +232,7 @@ public class DefaultSource extends ISOMe
      * @param newValues The new source extents.
      */
     public synchronized void setSourceExtents(final Collection<? extends Extent> newValues)
{
-        sourceExtents = copyCollection(newValues, sourceExtents, Extent.class);
+        sourceExtents = writeCollection(newValues, sourceExtents, Extent.class);
     }
 
     /**
@@ -250,7 +250,7 @@ public class DefaultSource extends ISOMe
      * @param newValues The new source steps.
      */
     public synchronized void setSourceSteps(final Collection<? extends ProcessStep>
newValues) {
-        sourceSteps = copyCollection(newValues, sourceSteps, ProcessStep.class);
+        sourceSteps = writeCollection(newValues, sourceSteps, ProcessStep.class);
     }
 
     /**

Modified: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/maintenance/DefaultMaintenanceInformation.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/maintenance/DefaultMaintenanceInformation.java?rev=1461882&r1=1461881&r2=1461882&view=diff
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/maintenance/DefaultMaintenanceInformation.java
[UTF-8] (original)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/maintenance/DefaultMaintenanceInformation.java
[UTF-8] Wed Mar 27 22:26:21 2013
@@ -213,7 +213,7 @@ public class DefaultMaintenanceInformati
      * @param newValues The new update scopes.
      */
     public synchronized void setUpdateScopes(final Collection<? extends ScopeCode>
newValues) {
-        updateScopes = copyCollection(newValues, updateScopes, ScopeCode.class);
+        updateScopes = writeCollection(newValues, updateScopes, ScopeCode.class);
     }
 
     /**
@@ -231,7 +231,7 @@ public class DefaultMaintenanceInformati
      * @param newValues The new update scope descriptions.
      */
     public synchronized void setUpdateScopeDescriptions(final Collection<? extends ScopeDescription>
newValues) {
-        updateScopeDescriptions = copyCollection(newValues, updateScopeDescriptions, ScopeDescription.class);
+        updateScopeDescriptions = writeCollection(newValues, updateScopeDescriptions, ScopeDescription.class);
     }
 
     /**
@@ -249,7 +249,7 @@ public class DefaultMaintenanceInformati
      * @param newValues The new maintenance notes.
      */
     public synchronized void setMaintenanceNotes(final Collection<? extends InternationalString>
newValues) {
-        maintenanceNotes = copyCollection(newValues, maintenanceNotes, InternationalString.class);
+        maintenanceNotes = writeCollection(newValues, maintenanceNotes, InternationalString.class);
     }
 
     /**
@@ -269,6 +269,6 @@ public class DefaultMaintenanceInformati
      * @param newValues The new contacts
      */
     public synchronized void setContacts(final Collection<? extends ResponsibleParty>
newValues) {
-        contacts = copyCollection(newValues, contacts, ResponsibleParty.class);
+        contacts = writeCollection(newValues, contacts, ResponsibleParty.class);
     }
 }

Modified: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/maintenance/DefaultScopeDescription.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/maintenance/DefaultScopeDescription.java?rev=1461882&r1=1461881&r2=1461882&view=diff
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/maintenance/DefaultScopeDescription.java
[UTF-8] (original)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/maintenance/DefaultScopeDescription.java
[UTF-8] Wed Mar 27 22:26:21 2013
@@ -119,7 +119,7 @@ public class DefaultScopeDescription ext
      * @param newValues The new attributes.
      */
     public synchronized void setAttributes(final Set<? extends AttributeType> newValues)
{
-        attributes = copySet(newValues, attributes, AttributeType.class);
+        attributes = writeSet(newValues, attributes, AttributeType.class);
     }
 
     /**
@@ -136,7 +136,7 @@ public class DefaultScopeDescription ext
      * @param newValues The new features.
      */
     public synchronized void setFeatures(final Set<? extends FeatureType> newValues)
{
-        features = copySet(newValues, features, FeatureType.class);
+        features = writeSet(newValues, features, FeatureType.class);
     }
 
     /**
@@ -153,7 +153,7 @@ public class DefaultScopeDescription ext
      * @param newValues The new feature instances.
      */
     public synchronized void setFeatureInstances(final Set<? extends FeatureType> newValues)
{
-        featureInstances = copySet(newValues, featureInstances, FeatureType.class);
+        featureInstances = writeSet(newValues, featureInstances, FeatureType.class);
     }
 
     /**
@@ -170,7 +170,7 @@ public class DefaultScopeDescription ext
      * @param newValues The new attribute instances.
      */
     public synchronized void setAttributeInstances(final Set<? extends AttributeType>
newValues) {
-        attributeInstances = copySet(newValues, attributeInstances, AttributeType.class);
+        attributeInstances = writeSet(newValues, attributeInstances, AttributeType.class);
     }
 
     /**

Modified: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/AbstractElement.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/AbstractElement.java?rev=1461882&r1=1461881&r2=1461882&view=diff
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/AbstractElement.java
[UTF-8] (original)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/AbstractElement.java
[UTF-8] Wed Mar 27 22:26:21 2013
@@ -135,7 +135,7 @@ public class AbstractElement extends ISO
      */
     public AbstractElement(final Result result) {
         this(); // Initialize date fields.
-        results = singleton(Result.class, result);
+        results = singleton(result, Result.class);
     }
 
     /**
@@ -199,7 +199,7 @@ public class AbstractElement extends ISO
      * @param newValues The new name of measures.
      */
     public synchronized void setNamesOfMeasure(final Collection<? extends InternationalString>
newValues) {
-        namesOfMeasure = copyCollection(newValues, namesOfMeasure, InternationalString.class);
+        namesOfMeasure = writeCollection(newValues, namesOfMeasure, InternationalString.class);
     }
 
     /**
@@ -360,6 +360,6 @@ public class AbstractElement extends ISO
      * @param newValues The new results.
      */
     public synchronized void setResults(final Collection<? extends Result> newValues)
{
-        results = copyCollection(newValues, results, Result.class);
+        results = writeCollection(newValues, results, Result.class);
     }
 }

Modified: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultDataQuality.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultDataQuality.java?rev=1461882&r1=1461881&r2=1461882&view=diff
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultDataQuality.java
[UTF-8] (original)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultDataQuality.java
[UTF-8] Wed Mar 27 22:26:21 2013
@@ -141,7 +141,7 @@ public class DefaultDataQuality extends 
      * @param newValues The new reports.
      */
     public synchronized void setReports(final Collection<? extends Element> newValues)
{
-        reports = copyCollection(newValues, reports, Element.class);
+        reports = writeCollection(newValues, reports, Element.class);
     }
 
     /**

Modified: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultQuantitativeResult.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultQuantitativeResult.java?rev=1461882&r1=1461881&r2=1461882&view=diff
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultQuantitativeResult.java
[UTF-8] (original)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultQuantitativeResult.java
[UTF-8] Wed Mar 27 22:26:21 2013
@@ -110,7 +110,7 @@ public class DefaultQuantitativeResult e
      * @param newValues The new values.
      */
     public synchronized void setValues(final List<Record> newValues) {
-        values = copyList(newValues, values, Record.class);
+        values = writeList(newValues, values, Record.class);
     }
 
     /**

Modified: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultScope.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultScope.java?rev=1461882&r1=1461881&r2=1461882&view=diff
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultScope.java
[UTF-8] (original)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultScope.java
[UTF-8] Wed Mar 27 22:26:21 2013
@@ -136,7 +136,7 @@ public class DefaultScope extends ISOMet
      * @param newValues The new level description.
      */
     public synchronized void setLevelDescription(final Collection<? extends ScopeDescription>
newValues) {
-        levelDescription = copyCollection(newValues, levelDescription, ScopeDescription.class);
+        levelDescription = writeCollection(newValues, levelDescription, ScopeDescription.class);
     }
 
     /**

Modified: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/AbstractGeolocationInformation.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/AbstractGeolocationInformation.java?rev=1461882&r1=1461881&r2=1461882&view=diff
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/AbstractGeolocationInformation.java
[UTF-8] (original)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/AbstractGeolocationInformation.java
[UTF-8] Wed Mar 27 22:26:21 2013
@@ -99,6 +99,6 @@ public class AbstractGeolocationInformat
      * @param newValues The new quality information values.
      */
     public synchronized void setQualityInfo(Collection<? extends DataQuality> newValues)
{
-        qualityInfo = copyCollection(newValues, qualityInfo, DataQuality.class);
+        qualityInfo = writeCollection(newValues, qualityInfo, DataQuality.class);
     }
 }

Modified: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGCP.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGCP.java?rev=1461882&r1=1461881&r2=1461882&view=diff
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGCP.java
[UTF-8] (original)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGCP.java
[UTF-8] Wed Mar 27 22:26:21 2013
@@ -120,6 +120,6 @@ public class DefaultGCP extends ISOMetad
      * @param newValues The new accuracy report values.
      */
     public synchronized void setAccuracyReports(final Collection<? extends Element>
newValues) {
-        accuracyReports = copyCollection(newValues, accuracyReports, Element.class);
+        accuracyReports = writeCollection(newValues, accuracyReports, Element.class);
     }
 }

Modified: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGCPCollection.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGCPCollection.java?rev=1461882&r1=1461881&r2=1461882&view=diff
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGCPCollection.java
[UTF-8] (original)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGCPCollection.java
[UTF-8] Wed Mar 27 22:26:21 2013
@@ -168,6 +168,6 @@ public class DefaultGCPCollection extend
      * @param newValues The new ground control points values.
      */
     public synchronized void setGCPs(final Collection<? extends GCP> newValues) {
-        GCPs = copyCollection(newValues, GCPs, GCP.class);
+        GCPs = writeCollection(newValues, GCPs, GCP.class);
     }
 }

Modified: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGeorectified.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGeorectified.java?rev=1461882&r1=1461881&r2=1461882&view=diff
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGeorectified.java
[UTF-8] (original)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGeorectified.java
[UTF-8] Wed Mar 27 22:26:21 2013
@@ -195,7 +195,7 @@ public class DefaultGeorectified extends
      * @param newValues The new corner points.
      */
     public synchronized void setCornerPoints(final List<? extends Point> newValues)
{
-        cornerPoints = copyList(newValues, cornerPoints, Point.class);
+        cornerPoints = writeList(newValues, cornerPoints, Point.class);
     }
 
     /**
@@ -274,7 +274,7 @@ public class DefaultGeorectified extends
      * @param newValues The new transformation mapping.
      */
     public synchronized void setTransformationDimensionMapping(final Collection<? extends
InternationalString> newValues) {
-        transformationDimensionMapping = copyCollection(newValues, transformationDimensionMapping,
InternationalString.class);
+        transformationDimensionMapping = writeCollection(newValues, transformationDimensionMapping,
InternationalString.class);
     }
 
     /**
@@ -292,6 +292,6 @@ public class DefaultGeorectified extends
      * @param newValues The new check points values.
      */
     public synchronized void setCheckPoints(final Collection<? extends GCP> newValues)
{
-        checkPoints = copyCollection(newValues, checkPoints, GCP.class);
+        checkPoints = writeCollection(newValues, checkPoints, GCP.class);
     }
 }

Modified: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGeoreferenceable.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGeoreferenceable.java?rev=1461882&r1=1461881&r2=1461882&view=diff
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGeoreferenceable.java
[UTF-8] (original)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGeoreferenceable.java
[UTF-8] Wed Mar 27 22:26:21 2013
@@ -204,7 +204,7 @@ public class DefaultGeoreferenceable ext
      * @param newValues The new parameter citations.
      */
     public synchronized void setParameterCitations(final Collection<? extends Citation>
newValues) {
-        parameterCitations = copyCollection(newValues, parameterCitations, Citation.class);
+        parameterCitations = writeCollection(newValues, parameterCitations, Citation.class);
     }
 
     /**
@@ -226,6 +226,6 @@ public class DefaultGeoreferenceable ext
      * @param newValues The new geolocation information values.
      */
     public synchronized void setGeolocationInformation(final Collection<? extends GeolocationInformation>
newValues) {
-        geolocationInformation = copyCollection(newValues, geolocationInformation, GeolocationInformation.class);
+        geolocationInformation = writeCollection(newValues, geolocationInformation, GeolocationInformation.class);
     }
 }

Modified: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGridSpatialRepresentation.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGridSpatialRepresentation.java?rev=1461882&r1=1461881&r2=1461882&view=diff
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGridSpatialRepresentation.java
[UTF-8] (original)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGridSpatialRepresentation.java
[UTF-8] Wed Mar 27 22:26:21 2013
@@ -154,7 +154,7 @@ public class DefaultGridSpatialRepresent
     public synchronized void setAxisDimensionProperties(final List<? extends Dimension>
newValues) {
         checkWritePermission();
         axisDimensionProperties = (List<Dimension>)
-                copyCollection(newValues, axisDimensionProperties, Dimension.class);
+                writeCollection(newValues, axisDimensionProperties, Dimension.class);
     }
 
     /**

Modified: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultVectorSpatialRepresentation.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultVectorSpatialRepresentation.java?rev=1461882&r1=1461881&r2=1461882&view=diff
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultVectorSpatialRepresentation.java
[UTF-8] (original)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultVectorSpatialRepresentation.java
[UTF-8] Wed Mar 27 22:26:21 2013
@@ -119,6 +119,6 @@ public class DefaultVectorSpatialReprese
      * @param newValues The new geometric objects.
      */
     public synchronized void setGeometricObjects(final Collection<? extends GeometricObjects>
newValues) {
-        geometricObjects = copyCollection(newValues, geometricObjects, GeometricObjects.class);
+        geometricObjects = writeCollection(newValues, geometricObjects, GeometricObjects.class);
     }
 }



Mime
View raw message