Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/AbstractTemporalAccuracy.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/AbstractTemporalAccuracy.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/AbstractTemporalAccuracy.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/AbstractTemporalAccuracy.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -43,6 +43,7 @@ import org.opengis.metadata.quality.Accu
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "AbstractDQ_TemporalAccuracy_Type")
@XmlRootElement(name = "DQ_TemporalAccuracy")
@XmlSeeAlso({
@@ -67,7 +68,7 @@ public class AbstractTemporalAccuracy ex
* This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
* given object are not recursively copied.
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(TemporalAccuracy)
*/
@@ -94,8 +95,8 @@ public class AbstractTemporalAccuracy ex
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static AbstractTemporalAccuracy castOrCopy(final TemporalAccuracy object) {
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/AbstractThematicAccuracy.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/AbstractThematicAccuracy.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/AbstractThematicAccuracy.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/AbstractThematicAccuracy.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -44,6 +44,7 @@ import org.opengis.metadata.quality.Quan
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "AbstractDQ_ThematicAccuracy_Type")
@XmlRootElement(name = "DQ_ThematicAccuracy")
@XmlSeeAlso({
@@ -68,7 +69,7 @@ public class AbstractThematicAccuracy ex
* This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
* given object are not recursively copied.
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(ThematicAccuracy)
*/
@@ -95,8 +96,8 @@ public class AbstractThematicAccuracy ex
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static AbstractThematicAccuracy castOrCopy(final ThematicAccuracy object) {
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultAbsoluteExternalPositionalAccuracy.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultAbsoluteExternalPositionalAccuracy.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultAbsoluteExternalPositionalAccuracy.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultAbsoluteExternalPositionalAccuracy.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -40,6 +40,7 @@ import org.opengis.metadata.quality.Abso
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "DQ_AbsoluteExternalPositionalAccuracy_Type")
@XmlRootElement(name = "DQ_AbsoluteExternalPositionalAccuracy")
public class DefaultAbsoluteExternalPositionalAccuracy extends AbstractPositionalAccuracy
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultAccuracyOfATimeMeasurement.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultAccuracyOfATimeMeasurement.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultAccuracyOfATimeMeasurement.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultAccuracyOfATimeMeasurement.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -39,6 +39,7 @@ import org.opengis.metadata.quality.Accu
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "DQ_AccuracyOfATimeMeasurement_Type")
@XmlRootElement(name = "DQ_AccuracyOfATimeMeasurement")
public class DefaultAccuracyOfATimeMeasurement extends AbstractTemporalAccuracy
@@ -60,7 +61,7 @@ public class DefaultAccuracyOfATimeMeasu
* This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
* given object are not recursively copied.
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(AccuracyOfATimeMeasurement)
*/
@@ -82,8 +83,8 @@ public class DefaultAccuracyOfATimeMeasu
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static DefaultAccuracyOfATimeMeasurement castOrCopy(final AccuracyOfATimeMeasurement object) {
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultCompletenessCommission.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultCompletenessCommission.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultCompletenessCommission.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultCompletenessCommission.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -39,6 +39,7 @@ import org.opengis.metadata.quality.Comp
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "DQ_CompletenessCommission_Type")
@XmlRootElement(name = "DQ_CompletenessCommission")
public class DefaultCompletenessCommission extends AbstractCompleteness implements CompletenessCommission {
@@ -58,7 +59,7 @@ public class DefaultCompletenessCommissi
* This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
* given object are not recursively copied.
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(CompletenessCommission)
*/
@@ -80,8 +81,8 @@ public class DefaultCompletenessCommissi
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static DefaultCompletenessCommission castOrCopy(final CompletenessCommission object) {
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultCompletenessOmission.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultCompletenessOmission.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultCompletenessOmission.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultCompletenessOmission.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -39,6 +39,7 @@ import org.opengis.metadata.quality.Comp
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "DQ_CompletenessOmission_Type")
@XmlRootElement(name = "DQ_CompletenessOmission")
public class DefaultCompletenessOmission extends AbstractCompleteness implements CompletenessOmission {
@@ -58,7 +59,7 @@ public class DefaultCompletenessOmission
* This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
* given object are not recursively copied.
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(CompletenessOmission)
*/
@@ -80,8 +81,8 @@ public class DefaultCompletenessOmission
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static DefaultCompletenessOmission castOrCopy(final CompletenessOmission object) {
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultConceptualConsistency.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultConceptualConsistency.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultConceptualConsistency.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultConceptualConsistency.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -39,6 +39,7 @@ import org.opengis.metadata.quality.Conc
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "DQ_ConceptualConsistency_Type")
@XmlRootElement(name = "DQ_ConceptualConsistency")
public class DefaultConceptualConsistency extends AbstractLogicalConsistency
@@ -60,7 +61,7 @@ public class DefaultConceptualConsistenc
* This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
* given object are not recursively copied.
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(ConceptualConsistency)
*/
@@ -82,8 +83,8 @@ public class DefaultConceptualConsistenc
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static DefaultConceptualConsistency castOrCopy(final ConceptualConsistency object) {
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultConformanceResult.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultConformanceResult.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultConformanceResult.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultConformanceResult.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -45,6 +45,7 @@ import org.apache.sis.util.iso.Types;
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "DQ_ConformanceResult_Type", propOrder = {
"specification",
"explanation",
@@ -85,9 +86,9 @@ public class DefaultConformanceResult ex
/**
* Creates a conformance result initialized to the given values.
*
- * @param specification Specification or requirement against which data is being evaluated, or {@code null}.
- * @param explanation The meaning of conformance for this result, or {@code null}.
- * @param pass Indication of the conformance result, or {@code null}.
+ * @param specification specification or requirement against which data is being evaluated, or {@code null}.
+ * @param explanation the meaning of conformance for this result, or {@code null}.
+ * @param pass indication of the conformance result, or {@code null}.
*/
public DefaultConformanceResult(final Citation specification,
final CharSequence explanation,
@@ -103,7 +104,7 @@ public class DefaultConformanceResult ex
* This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
* given object are not recursively copied.
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(ConformanceResult)
*/
@@ -130,8 +131,8 @@ public class DefaultConformanceResult ex
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static DefaultConformanceResult castOrCopy(final ConformanceResult object) {
@@ -144,7 +145,7 @@ public class DefaultConformanceResult ex
/**
* Returns the citation of product specification or user requirement against which data is being evaluated.
*
- * @return Citation of product specification or user requirement, or {@code null}.
+ * @return citation of product specification or user requirement, or {@code null}.
*/
@Override
@XmlElement(name = "specification", required = true)
@@ -155,7 +156,7 @@ public class DefaultConformanceResult ex
/**
* Sets the citation of product specification or user requirement against which data is being evaluated.
*
- * @param newValue The new specification.
+ * @param newValue the new specification.
*/
public void setSpecification(final Citation newValue) {
checkWritePermission();
@@ -165,7 +166,7 @@ public class DefaultConformanceResult ex
/**
* Returns the explanation of the meaning of conformance for this result.
*
- * @return Explanation of the meaning of conformance, or {@code null}.
+ * @return explanation of the meaning of conformance, or {@code null}.
*/
@Override
@XmlElement(name = "explanation", required = true)
@@ -176,7 +177,7 @@ public class DefaultConformanceResult ex
/**
* Sets the explanation of the meaning of conformance for this result.
*
- * @param newValue The new explanation.
+ * @param newValue the new explanation.
*/
public void setExplanation(final InternationalString newValue) {
checkWritePermission();
@@ -186,7 +187,7 @@ public class DefaultConformanceResult ex
/**
* Returns an indication of the conformance result.
*
- * @return Indication of the conformance result, or {@code null}.
+ * @return indication of the conformance result, or {@code null}.
*/
@Override
public Boolean pass() {
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultCoverageResult.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultCoverageResult.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultCoverageResult.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultCoverageResult.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -46,6 +46,7 @@ import org.apache.sis.xml.Namespaces;
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "QE_CoverageResult_Type", propOrder = {
"spatialRepresentationType",
"resultSpatialRepresentation",
@@ -97,7 +98,7 @@ public class DefaultCoverageResult exten
* This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
* given object are not recursively copied.
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(CoverageResult)
*/
@@ -126,8 +127,8 @@ public class DefaultCoverageResult exten
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static DefaultCoverageResult castOrCopy(final CoverageResult object) {
@@ -140,7 +141,7 @@ public class DefaultCoverageResult exten
/**
* Returns the method used to spatially represent the coverage result.
*
- * @return Spatial representation of the coverage result, or {@code null}.
+ * @return spatial representation of the coverage result, or {@code null}.
*/
@Override
@XmlElement(name = "spatialRepresentationType", namespace = Namespaces.GMI, required = true)
@@ -151,7 +152,7 @@ public class DefaultCoverageResult exten
/**
* Sets the method used to spatially represent the coverage result.
*
- * @param newValue The new spatial representation type value.
+ * @param newValue the new spatial representation type value.
*/
public void setSpatialRepresentationType(final SpatialRepresentationType newValue) {
checkWritePermission();
@@ -161,7 +162,7 @@ public class DefaultCoverageResult exten
/**
* Returns the digital representation of data quality measures composing the coverage result.
*
- * @return Digital representation of data quality measures composing the coverage result, or {@code null}.
+ * @return digital representation of data quality measures composing the coverage result, or {@code null}.
*/
@Override
@XmlElement(name = "resultSpatialRepresentation", namespace = Namespaces.GMI, required = true)
@@ -172,7 +173,7 @@ public class DefaultCoverageResult exten
/**
* Sets the digital representation of data quality measures composing the coverage result.
*
- * @param newValue The new spatial representation value.
+ * @param newValue the new spatial representation value.
*/
public void setResultSpatialRepresentation(final SpatialRepresentation newValue) {
checkWritePermission();
@@ -183,7 +184,7 @@ public class DefaultCoverageResult exten
* Returns the description of the content of the result coverage, i.e. semantic definition
* of the data quality measures.
*
- * @return Description of the content of the result coverage, or {@code null}.
+ * @return description of the content of the result coverage, or {@code null}.
*/
@Override
@XmlElement(name = "resultContentDescription", namespace = Namespaces.GMI, required = true)
@@ -195,7 +196,7 @@ public class DefaultCoverageResult exten
* Sets the description of the content of the result coverage, i.e. semantic definition
* of the data quality measures.
*
- * @param newValue The new content description value.
+ * @param newValue the new content description value.
*/
public void setResultContentDescription(final CoverageDescription newValue) {
checkWritePermission();
@@ -205,7 +206,7 @@ public class DefaultCoverageResult exten
/**
* Returns the information about the format of the result coverage data.
*
- * @return Format of the result coverage data, or {@code null}.
+ * @return format of the result coverage data, or {@code null}.
*/
@Override
@XmlElement(name = "resultFormat", namespace = Namespaces.GMI, required = true)
@@ -216,7 +217,7 @@ public class DefaultCoverageResult exten
/**
* Sets the information about the format of the result coverage data.
*
- * @param newValue The new result format value.
+ * @param newValue the new result format value.
*/
public void setResultFormat(final Format newValue) {
checkWritePermission();
@@ -226,7 +227,7 @@ public class DefaultCoverageResult exten
/**
* Returns the information about the data file containing the result coverage data.
*
- * @return Data file containing the result coverage data, or {@code null}.
+ * @return data file containing the result coverage data, or {@code null}.
*/
@Override
@XmlElement(name = "resultFile", namespace = Namespaces.GMX, required = true)
@@ -237,7 +238,7 @@ public class DefaultCoverageResult exten
/**
* Sets the information about the data file containing the result coverage data.
*
- * @param newValue The new result file value.
+ * @param newValue the new result file value.
*/
public void setResultFile(final DataFile newValue) {
checkWritePermission();
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultDataQuality.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultDataQuality.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultDataQuality.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultDataQuality.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -49,6 +49,7 @@ import org.apache.sis.metadata.iso.ISOMe
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "DQ_DataQuality_Type", propOrder = {
"scope",
"reports",
@@ -89,7 +90,7 @@ public class DefaultDataQuality extends
/**
* Creates a data quality initialized to the given scope.
*
- * @param scope The specific data to which the data quality information applies, or {@code null}.
+ * @param scope the specific data to which the data quality information applies, or {@code null}.
*/
public DefaultDataQuality(final Scope scope) {
this.scope = scope;
@@ -100,7 +101,7 @@ public class DefaultDataQuality extends
* This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
* given object are not recursively copied.
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(DataQuality)
*/
@@ -127,8 +128,8 @@ public class DefaultDataQuality extends
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static DefaultDataQuality castOrCopy(final DataQuality object) {
@@ -141,7 +142,7 @@ public class DefaultDataQuality extends
/**
* Returns the specific data to which the data quality information applies.
*
- * @return The specific data to which the data quality information applies, or {@code null}.
+ * @return the specific data to which the data quality information applies, or {@code null}.
*/
@Override
@XmlElement(name = "scope", required = true)
@@ -152,7 +153,7 @@ public class DefaultDataQuality extends
/**
* Sets the specific data to which the data quality information applies.
*
- * @param newValue The new scope.
+ * @param newValue the new scope.
*/
public void setScope(final Scope newValue) {
checkWritePermission();
@@ -162,7 +163,7 @@ public class DefaultDataQuality extends
/**
* Returns the quantitative quality information for the data specified by the scope.
*
- * @return Quantitative quality information for the data.
+ * @return quantitative quality information for the data.
*/
@Override
@XmlElement(name = "report")
@@ -173,7 +174,7 @@ public class DefaultDataQuality extends
/**
* Sets the quantitative quality information for the data specified by the scope.
*
- * @param newValues The new reports.
+ * @param newValues the new reports.
*/
public void setReports(final Collection<? extends Element> newValues) {
reports = writeCollection(newValues, reports, Element.class);
@@ -182,7 +183,7 @@ public class DefaultDataQuality extends
/**
* Returns non-quantitative quality information about the lineage of the data specified by the scope.
*
- * @return Non-quantitative quality information about the lineage of the data specified, or {@code null}.
+ * @return non-quantitative quality information about the lineage of the data specified, or {@code null}.
*/
@Override
@XmlElement(name = "lineage")
@@ -193,7 +194,7 @@ public class DefaultDataQuality extends
/**
* Sets the non-quantitative quality information about the lineage of the data specified by the scope.
*
- * @param newValue The new lineage.
+ * @param newValue the new lineage.
*/
public void setLineage(final Lineage newValue) {
checkWritePermission();
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultDomainConsistency.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultDomainConsistency.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultDomainConsistency.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultDomainConsistency.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -39,6 +39,7 @@ import org.opengis.metadata.quality.Doma
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "DQ_DomainConsistency_Type")
@XmlRootElement(name = "DQ_DomainConsistency")
public class DefaultDomainConsistency extends AbstractLogicalConsistency implements DomainConsistency {
@@ -58,7 +59,7 @@ public class DefaultDomainConsistency ex
* This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
* given object are not recursively copied.
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(DomainConsistency)
*/
@@ -80,8 +81,8 @@ public class DefaultDomainConsistency ex
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static DefaultDomainConsistency castOrCopy(final DomainConsistency object) {
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultFormatConsistency.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultFormatConsistency.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultFormatConsistency.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultFormatConsistency.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -39,6 +39,7 @@ import org.opengis.metadata.quality.Form
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "DQ_FormatConsistency_Type")
@XmlRootElement(name = "DQ_FormatConsistency")
public class DefaultFormatConsistency extends AbstractLogicalConsistency implements FormatConsistency {
@@ -58,7 +59,7 @@ public class DefaultFormatConsistency ex
* This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
* given object are not recursively copied.
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(FormatConsistency)
*/
@@ -80,8 +81,8 @@ public class DefaultFormatConsistency ex
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static DefaultFormatConsistency castOrCopy(final FormatConsistency object) {
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultGriddedDataPositionalAccuracy.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultGriddedDataPositionalAccuracy.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultGriddedDataPositionalAccuracy.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultGriddedDataPositionalAccuracy.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -39,6 +39,7 @@ import org.opengis.metadata.quality.Grid
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "DQ_GriddedDataPositionalAccuracy_Type")
@XmlRootElement(name = "DQ_GriddedDataPositionalAccuracy")
public class DefaultGriddedDataPositionalAccuracy extends AbstractPositionalAccuracy
@@ -60,7 +61,7 @@ public class DefaultGriddedDataPositiona
* This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
* given object are not recursively copied.
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(GriddedDataPositionalAccuracy)
*/
@@ -82,8 +83,8 @@ public class DefaultGriddedDataPositiona
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static DefaultGriddedDataPositionalAccuracy castOrCopy(final GriddedDataPositionalAccuracy object) {
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultNonQuantitativeAttributeAccuracy.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultNonQuantitativeAttributeAccuracy.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultNonQuantitativeAttributeAccuracy.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultNonQuantitativeAttributeAccuracy.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -38,6 +38,7 @@ import org.opengis.metadata.quality.NonQ
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "DQ_NonQuantitativeAttributeAccuracy_Type")
@XmlRootElement(name = "DQ_NonQuantitativeAttributeAccuracy")
public class DefaultNonQuantitativeAttributeAccuracy extends AbstractThematicAccuracy
@@ -59,7 +60,7 @@ public class DefaultNonQuantitativeAttri
* This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
* given object are not recursively copied.
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(NonQuantitativeAttributeAccuracy)
*/
@@ -81,8 +82,8 @@ public class DefaultNonQuantitativeAttri
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static DefaultNonQuantitativeAttributeAccuracy castOrCopy(final NonQuantitativeAttributeAccuracy object) {
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultQuantitativeAttributeAccuracy.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultQuantitativeAttributeAccuracy.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultQuantitativeAttributeAccuracy.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultQuantitativeAttributeAccuracy.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -39,6 +39,7 @@ import org.opengis.metadata.quality.Quan
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "DQ_QuantitativeAttributeAccuracy_Type")
@XmlRootElement(name = "DQ_QuantitativeAttributeAccuracy")
public class DefaultQuantitativeAttributeAccuracy extends AbstractThematicAccuracy
@@ -60,7 +61,7 @@ public class DefaultQuantitativeAttribut
* This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
* given object are not recursively copied.
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(QuantitativeAttributeAccuracy)
*/
@@ -82,8 +83,8 @@ public class DefaultQuantitativeAttribut
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static DefaultQuantitativeAttributeAccuracy castOrCopy(final QuantitativeAttributeAccuracy object) {
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultQuantitativeResult.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultQuantitativeResult.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultQuantitativeResult.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultQuantitativeResult.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -45,6 +45,7 @@ import org.opengis.util.RecordType;
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "DQ_QuantitativeResult_Type", propOrder = {
"valueType",
"valueUnit",
@@ -88,7 +89,7 @@ public class DefaultQuantitativeResult e
* This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
* given object are not recursively copied.
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(QuantitativeResult)
*/
@@ -116,8 +117,8 @@ public class DefaultQuantitativeResult e
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static DefaultQuantitativeResult castOrCopy(final QuantitativeResult object) {
@@ -141,7 +142,7 @@ public class DefaultQuantitativeResult e
/**
* Sets the quantitative value or values, content determined by the evaluation procedure used.
*
- * @param newValues The new values.
+ * @param newValues the new values.
*/
public void setValues(final List<? extends Record> newValues) {
values = writeList(newValues, values, Record.class);
@@ -154,7 +155,7 @@ public class DefaultQuantitativeResult e
* If no type has been set but all {@linkplain #getValues() values} are of the same type,
* then this method defaults to that type. Otherwise this method returns {@code null}.
*
- * @return Value type for reporting a data quality result, or {@code null}.
+ * @return value type for reporting a data quality result, or {@code null}.
*/
@Override
@XmlElement(name = "valueType")
@@ -181,7 +182,7 @@ public class DefaultQuantitativeResult e
* Sets the value type for reporting a data quality result.
* A {@code null} value restores the default value documented in {@link #getValueType()}.
*
- * @param newValue The new value type.
+ * @param newValue the new value type.
*/
public void setValueType(final RecordType newValue) {
checkWritePermission();
@@ -191,7 +192,7 @@ public class DefaultQuantitativeResult e
/**
* Returns the value unit for reporting a data quality result.
*
- * @return Value unit for reporting a data quality result, or {@code null}.
+ * @return value unit for reporting a data quality result, or {@code null}.
*/
@Override
@XmlElement(name = "valueUnit", required = true)
@@ -202,7 +203,7 @@ public class DefaultQuantitativeResult e
/**
* Sets the value unit for reporting a data quality result.
*
- * @param newValue The new value unit.
+ * @param newValue the new value unit.
*/
public void setValueUnit(final Unit<?> newValue) {
checkWritePermission();
@@ -212,7 +213,7 @@ public class DefaultQuantitativeResult e
/**
* Returns the statistical method used to determine the value.
*
- * @return Statistical method used to determine the value, or {@code null}.
+ * @return statistical method used to determine the value, or {@code null}.
*/
@Override
@XmlElement(name = "errorStatistic")
@@ -223,7 +224,7 @@ public class DefaultQuantitativeResult e
/**
* Sets the statistical method used to determine the value, or {@code null} if none.
*
- * @param newValue The new error statistic.
+ * @param newValue the new error statistic.
*/
public void setErrorStatistic(final InternationalString newValue) {
checkWritePermission();
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultRelativeInternalPositionalAccuracy.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultRelativeInternalPositionalAccuracy.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultRelativeInternalPositionalAccuracy.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultRelativeInternalPositionalAccuracy.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -40,6 +40,7 @@ import org.opengis.metadata.quality.Rela
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "DQ_RelativeInternalPositionalAccuracy_Type")
@XmlRootElement(name = "DQ_RelativeInternalPositionalAccuracy")
public class DefaultRelativeInternalPositionalAccuracy extends AbstractPositionalAccuracy
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultScope.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultScope.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultScope.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultScope.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -44,6 +44,7 @@ import org.opengis.metadata.maintenance.
*/
@Deprecated
@XmlTransient
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
public class DefaultScope extends org.apache.sis.metadata.iso.maintenance.DefaultScope implements Scope {
/**
* Serial number for inter-operability with different versions.
@@ -70,7 +71,7 @@ public class DefaultScope extends org.ap
* This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
* given object are not recursively copied.
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(Scope)
*/
@@ -92,8 +93,8 @@ public class DefaultScope extends org.ap
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static DefaultScope castOrCopy(final Scope object) {
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultTemporalConsistency.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultTemporalConsistency.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultTemporalConsistency.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultTemporalConsistency.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -39,6 +39,7 @@ import org.opengis.metadata.quality.Temp
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "DQ_TemporalConsistency_Type")
@XmlRootElement(name = "DQ_TemporalConsistency")
public class DefaultTemporalConsistency extends AbstractTemporalAccuracy implements TemporalConsistency {
@@ -58,7 +59,7 @@ public class DefaultTemporalConsistency
* This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
* given object are not recursively copied.
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(TemporalConsistency)
*/
@@ -80,8 +81,8 @@ public class DefaultTemporalConsistency
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static DefaultTemporalConsistency castOrCopy(final TemporalConsistency object) {
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultTemporalValidity.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultTemporalValidity.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultTemporalValidity.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultTemporalValidity.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -39,6 +39,7 @@ import org.opengis.metadata.quality.Temp
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "DQ_TemporalValidity_Type")
@XmlRootElement(name = "DQ_TemporalValidity")
public class DefaultTemporalValidity extends AbstractTemporalAccuracy implements TemporalValidity {
@@ -58,7 +59,7 @@ public class DefaultTemporalValidity ext
* This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
* given object are not recursively copied.
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(TemporalValidity)
*/
@@ -80,8 +81,8 @@ public class DefaultTemporalValidity ext
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static DefaultTemporalValidity castOrCopy(final TemporalValidity object) {
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultThematicClassificationCorrectness.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultThematicClassificationCorrectness.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultThematicClassificationCorrectness.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultThematicClassificationCorrectness.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -39,6 +39,7 @@ import org.opengis.metadata.quality.Them
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "DQ_ThematicClassificationCorrectness_Type")
@XmlRootElement(name = "DQ_ThematicClassificationCorrectness")
public class DefaultThematicClassificationCorrectness extends AbstractThematicAccuracy
@@ -60,7 +61,7 @@ public class DefaultThematicClassificati
* This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
* given object are not recursively copied.
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(ThematicClassificationCorrectness)
*/
@@ -82,8 +83,8 @@ public class DefaultThematicClassificati
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static DefaultThematicClassificationCorrectness castOrCopy(final ThematicClassificationCorrectness object) {
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultTopologicalConsistency.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultTopologicalConsistency.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultTopologicalConsistency.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultTopologicalConsistency.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -39,6 +39,7 @@ import org.opengis.metadata.quality.Topo
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "DQ_TopologicalConsistency_Type")
@XmlRootElement(name = "DQ_TopologicalConsistency")
public class DefaultTopologicalConsistency extends AbstractLogicalConsistency
@@ -60,7 +61,7 @@ public class DefaultTopologicalConsisten
* This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
* given object are not recursively copied.
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(TopologicalConsistency)
*/
@@ -82,8 +83,8 @@ public class DefaultTopologicalConsisten
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static DefaultTopologicalConsistency castOrCopy(final TopologicalConsistency object) {
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultUsability.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultUsability.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultUsability.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultUsability.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -40,6 +40,7 @@ import org.apache.sis.xml.Namespaces;
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "QE_Usability_Type")
@XmlRootElement(name = "QE_Usability", namespace = Namespaces.GMI)
public class DefaultUsability extends AbstractElement implements Usability {
@@ -59,7 +60,7 @@ public class DefaultUsability extends Ab
* This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
* given object are not recursively copied.
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(Usability)
*/
@@ -81,8 +82,8 @@ public class DefaultUsability extends Ab
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static DefaultUsability castOrCopy(final Usability object) {
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/AbstractGeolocationInformation.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/AbstractGeolocationInformation.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/AbstractGeolocationInformation.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/AbstractGeolocationInformation.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -46,6 +46,7 @@ import org.apache.sis.xml.Namespaces;
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "AbstractMI_GeolocationInformation_Type")
@XmlRootElement(name = "MI_GeolocationInformation", namespace = Namespaces.GMI)
@XmlSeeAlso(DefaultGCPCollection.class)
@@ -71,7 +72,7 @@ public class AbstractGeolocationInformat
* This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
* given object are not recursively copied.
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(GeolocationInformation)
*/
@@ -98,8 +99,8 @@ public class AbstractGeolocationInformat
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static AbstractGeolocationInformation castOrCopy(final GeolocationInformation object) {
@@ -116,7 +117,7 @@ public class AbstractGeolocationInformat
/**
* Returns an overall assessment of quality of geolocation information.
*
- * @return An overall assessment of quality of geolocation information.
+ * @return an overall assessment of quality of geolocation information.
*/
@Override
@XmlElement(name = "qualityInfo", namespace = Namespaces.GMI)
@@ -127,7 +128,7 @@ public class AbstractGeolocationInformat
/**
* Sets an overall assessment of quality of geolocation information.
*
- * @param newValues The new quality information values.
+ * @param newValues the new quality information values.
*/
public void setQualityInfo(Collection<? extends DataQuality> newValues) {
qualityInfo = writeCollection(newValues, qualityInfo, DataQuality.class);
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/AbstractSpatialRepresentation.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/AbstractSpatialRepresentation.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/AbstractSpatialRepresentation.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/AbstractSpatialRepresentation.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -44,6 +44,7 @@ import org.apache.sis.metadata.iso.ISOMe
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "AbstractMD_SpatialRepresentation_Type")
@XmlRootElement(name = "MD_SpatialRepresentation")
@XmlSeeAlso({
@@ -67,7 +68,7 @@ public class AbstractSpatialRepresentati
* This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
* given object are not recursively copied.
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(SpatialRepresentation)
*/
@@ -94,8 +95,8 @@ public class AbstractSpatialRepresentati
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static AbstractSpatialRepresentation castOrCopy(final SpatialRepresentation object) {
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultDimension.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultDimension.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultDimension.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultDimension.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -56,6 +56,7 @@ import static org.opengis.annotation.Spe
* @version 0.5
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "MD_Dimension_Type", propOrder = {
"dimensionName",
"dimensionSize",
@@ -106,8 +107,8 @@ public class DefaultDimension extends IS
/**
* Creates a dimension initialized to the given type and size.
*
- * @param dimensionName The name of the axis, or {@code null} if none, or {@code null} if none.
- * @param dimensionSize The number of elements along the axis, or {@code null} if none.
+ * @param dimensionName the name of the axis, or {@code null} if none, or {@code null} if none.
+ * @param dimensionSize the number of elements along the axis, or {@code null} if none.
* @throws IllegalArgumentException if {@code dimensionSize} is negative.
*/
public DefaultDimension(final DimensionNameType dimensionName, final int dimensionSize) {
@@ -128,7 +129,7 @@ public class DefaultDimension extends IS
* metadata instances can also be obtained by unmarshalling an invalid XML document.
* </div>
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(Dimension)
*/
@@ -159,8 +160,8 @@ public class DefaultDimension extends IS
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static DefaultDimension castOrCopy(final Dimension object) {
@@ -173,7 +174,7 @@ public class DefaultDimension extends IS
/**
* Returns the name of the axis.
*
- * @return Name of the axis, or {@code null}.
+ * @return name of the axis, or {@code null}.
*/
@Override
@XmlElement(name = "dimensionName", required = true)
@@ -184,7 +185,7 @@ public class DefaultDimension extends IS
/**
* Sets the name of the axis.
*
- * @param newValue The new dimension name.
+ * @param newValue the new dimension name.
*/
public void setDimensionName(final DimensionNameType newValue) {
checkWritePermission();
@@ -194,7 +195,7 @@ public class DefaultDimension extends IS
/**
* Returns the number of elements along the axis.
*
- * @return Number of elements along the axis, or {@code null}.
+ * @return number of elements along the axis, or {@code null}.
*/
@Override
@ValueRange(minimum = 0)
@@ -206,7 +207,7 @@ public class DefaultDimension extends IS
/**
* Sets the number of elements along the axis.
*
- * @param newValue The new dimension size, or {@code null}.
+ * @param newValue the new dimension size, or {@code null}.
* @throws IllegalArgumentException if the given value is negative.
*/
public void setDimensionSize(final Integer newValue) {
@@ -219,7 +220,7 @@ public class DefaultDimension extends IS
/**
* Returns the degree of detail in the grid dataset.
*
- * @return Degree of detail in the grid dataset, or {@code null}.
+ * @return degree of detail in the grid dataset, or {@code null}.
*/
@Override
@ValueRange(minimum=0, isMinIncluded=false)
@@ -232,7 +233,7 @@ public class DefaultDimension extends IS
/**
* Sets the degree of detail in the grid dataset.
*
- * @param newValue The new resolution, or {@code null}.
+ * @param newValue the new resolution, or {@code null}.
* @throws IllegalArgumentException if the given value is NaN, zero or negative.
*/
public void setResolution(final Double newValue) {
@@ -248,7 +249,7 @@ public class DefaultDimension extends IS
* <div class="note"><b>Example:</b>
* dimensionName = "column", dimensionTitle = "longitude"</div>
*
- * @return The enhancement/ modifier of the dimension name.
+ * @return the enhancement/ modifier of the dimension name.
*
* @since 0.5
*/
@@ -261,7 +262,7 @@ public class DefaultDimension extends IS
/**
* Sets the enhancement/ modifier of the dimension name.
*
- * @param newValue The new enhancement/ modifier of the dimension name.
+ * @param newValue the new enhancement/ modifier of the dimension name.
*
* @since 0.5
*/
@@ -273,7 +274,7 @@ public class DefaultDimension extends IS
/**
* Return the axis dimension description.
*
- * @return The axis dimension description.
+ * @return the axis dimension description.
*
* @since 0.5
*/
@@ -286,7 +287,7 @@ public class DefaultDimension extends IS
/**
* Sets the axis dimension description.
*
- * @param newValue The new axis dimension description.
+ * @param newValue the new axis dimension description.
*
* @since 0.5
*/
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGCP.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGCP.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGCP.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGCP.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -45,6 +45,7 @@ import org.apache.sis.xml.Namespaces;
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "MI_GCP_Type", propOrder = {
//"geographicCoordinates",
"accuracyReports"
@@ -77,7 +78,7 @@ public class DefaultGCP extends ISOMetad
* This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
* given object are not recursively copied.
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(GCP)
*/
@@ -103,8 +104,8 @@ public class DefaultGCP extends ISOMetad
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static DefaultGCP castOrCopy(final GCP object) {
@@ -117,7 +118,7 @@ public class DefaultGCP extends ISOMetad
/**
* Returns the geographic or map position of the control point, in either two or three dimensions.
*
- * @return Geographic or map position of the control point, or {@code null}.
+ * @return geographic or map position of the control point, or {@code null}.
*
* @todo finish the annotation on the referencing module before.
*/
@@ -130,7 +131,7 @@ public class DefaultGCP extends ISOMetad
/**
* Sets the geographic or map position of the control point, in either two or three dimensions.
*
- * @param newValue The new geographic coordinates values.
+ * @param newValue the new geographic coordinates values.
*/
public void setGeographicCoordinates(final DirectPosition newValue) {
checkWritePermission();
@@ -140,7 +141,7 @@ public class DefaultGCP extends ISOMetad
/**
* Returns the accuracy of a ground control point.
*
- * @return Accuracy of a ground control point.
+ * @return accuracy of a ground control point.
*/
@Override
@XmlElement(name = "accuracyReport", namespace = Namespaces.GMI)
@@ -151,7 +152,7 @@ public class DefaultGCP extends ISOMetad
/**
* Sets the accuracy of a ground control point.
*
- * @param newValues The new accuracy report values.
+ * @param newValues the new accuracy report values.
*/
public void setAccuracyReports(final Collection<? extends Element> newValues) {
accuracyReports = writeCollection(newValues, accuracyReports, Element.class);
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGCPCollection.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGCPCollection.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGCPCollection.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGCPCollection.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -45,6 +45,7 @@ import org.apache.sis.xml.Namespaces;
* @version 0.3
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "MI_GCPCollection_Type", propOrder = {
"collectionIdentification",
"collectionName",
@@ -89,7 +90,7 @@ public class DefaultGCPCollection extend
* This is a <cite>shallow</cite> copy constructor, since the other metadata contained in the
* given object are not recursively copied.
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(GCPCollection)
*/
@@ -117,8 +118,8 @@ public class DefaultGCPCollection extend
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static DefaultGCPCollection castOrCopy(final GCPCollection object) {
@@ -131,7 +132,7 @@ public class DefaultGCPCollection extend
/**
* Returns the identifier of the GCP collection.
*
- * @return The identifier, or {@code null}.
+ * @return the identifier, or {@code null}.
*/
@Override
@XmlElement(name = "collectionIdentification", namespace = Namespaces.GMI, required = true)
@@ -142,7 +143,7 @@ public class DefaultGCPCollection extend
/**
* Sets the identifier of the GCP collection.
*
- * @param newValue The new collection identifier value.
+ * @param newValue the new collection identifier value.
*/
public void setCollectionIdentification(final Integer newValue) {
checkWritePermission();
@@ -152,7 +153,7 @@ public class DefaultGCPCollection extend
/**
* Returns the name of the GCP collection.
*
- * @return Name of the GCP collection, or {@code null}.
+ * @return name of the GCP collection, or {@code null}.
*/
@Override
@XmlElement(name = "collectionName", namespace = Namespaces.GMI, required = true)
@@ -163,7 +164,7 @@ public class DefaultGCPCollection extend
/**
* Sets the name of the GCP collection.
*
- * @param newValue The new collection name.
+ * @param newValue the new collection name.
*/
public void setCollectionName(final InternationalString newValue) {
checkWritePermission();
@@ -171,9 +172,9 @@ public class DefaultGCPCollection extend
}
/**
- * Returns the coordinate system in which the ground control points are defined.
+ * Returns the coordinate reference system in which the ground control points are defined.
*
- * @return Coordinate system in which the ground control points are defined, or {@code null}.
+ * @return coordinate reference system in which the ground control points are defined, or {@code null}.
*/
@Override
@XmlElement(name = "coordinateReferenceSystem", namespace = Namespaces.GMI, required = true)
@@ -182,9 +183,9 @@ public class DefaultGCPCollection extend
}
/**
- * Sets the coordinate system in which the ground control points are defined.
+ * Sets the coordinate reference system in which the ground control points are defined.
*
- * @param newValue The new coordinate reference system value.
+ * @param newValue the new coordinate reference system value.
*/
public void setCoordinateReferenceSystem(final ReferenceSystem newValue) {
checkWritePermission();
@@ -194,7 +195,7 @@ public class DefaultGCPCollection extend
/**
* Returns the ground control point(s) used in the collection.
*
- * @return Ground control point(s).
+ * @return ground control point(s).
*/
@Override
@XmlElement(name = "gcp", namespace = Namespaces.GMI, required = true)
@@ -205,7 +206,7 @@ public class DefaultGCPCollection extend
/**
* Sets the ground control point(s) used in the collection.
*
- * @param newValues The new ground control points values.
+ * @param newValues the new ground control points values.
*/
public void setGCPs(final Collection<? extends GCP> newValues) {
GCPs = writeCollection(newValues, GCPs, GCP.class);
Modified: sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGeometricObjects.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGeometricObjects.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGeometricObjects.java [UTF-8] (original)
+++ sis/trunk/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/spatial/DefaultGeometricObjects.java [UTF-8] Fri Jan 20 04:34:26 2017
@@ -46,6 +46,7 @@ import static org.apache.sis.internal.me
* @version 0.5
* @module
*/
+@SuppressWarnings("CloneableClassWithoutClone") // ModifiableMetadata needs shallow clones.
@XmlType(name = "MD_GeometricObjects_Type", propOrder = {
"geometricObjectType",
"geometricObjectCount"
@@ -76,8 +77,7 @@ public class DefaultGeometricObjects ext
/**
* Creates a geometric object initialized to the given type.
*
- * @param geometricObjectType Total number of the point or vector
- * object type occurring in the dataset.
+ * @param geometricObjectType total number of the point or vector object type occurring in the dataset.
*/
public DefaultGeometricObjects(final GeometricObjectType geometricObjectType) {
this.geometricObjectType = geometricObjectType;
@@ -95,7 +95,7 @@ public class DefaultGeometricObjects ext
* metadata instances can also be obtained by unmarshalling an invalid XML document.
* </div>
*
- * @param object The metadata to copy values from, or {@code null} if none.
+ * @param object the metadata to copy values from, or {@code null} if none.
*
* @see #castOrCopy(GeometricObjects)
*/
@@ -121,8 +121,8 @@ public class DefaultGeometricObjects ext
* metadata contained in the given object are not recursively copied.</li>
* </ul>
*
- * @param object The object to get as a SIS implementation, or {@code null} if none.
- * @return A SIS implementation containing the values of the given object (may be the
+ * @param object the object to get as a SIS implementation, or {@code null} if none.
+ * @return a SIS implementation containing the values of the given object (may be the
* given object itself), or {@code null} if the argument was null.
*/
public static DefaultGeometricObjects castOrCopy(final GeometricObjects object) {
@@ -135,7 +135,7 @@ public class DefaultGeometricObjects ext
/**
* Returns the total number of the point or vector object type occurring in the dataset.
*
- * @return Name of spatial objects used to locate spatial locations in the dataset, or {@code null}.
+ * @return name of spatial objects used to locate spatial locations in the dataset, or {@code null}.
*/
@Override
@XmlElement(name = "geometricObjectType", required = true)
@@ -146,7 +146,7 @@ public class DefaultGeometricObjects ext
/**
* Sets the total number of the point or vector object type occurring in the dataset.
*
- * @param newValue The new geometric object type.
+ * @param newValue the new geometric object type.
*/
public void setGeometricObjectType(final GeometricObjectType newValue) {
checkWritePermission();
@@ -156,7 +156,7 @@ public class DefaultGeometricObjects ext
/**
* Returns the total number of the point or vector object type occurring in the dataset.
*
- * @return Total number of the point or vector object type, or {@code null}.
+ * @return total number of the point or vector object type, or {@code null}.
*/
@Override
@ValueRange(minimum = 1)
@@ -168,7 +168,7 @@ public class DefaultGeometricObjects ext
/**
* Sets the total number of the point or vector object type occurring in the dataset.
*
- * @param newValue The geometric object count, or {@code null}.
+ * @param newValue the geometric object count, or {@code null}.
* @throws IllegalArgumentException if the given value is zero or negative.
*/
public void setGeometricObjectCount(final Integer newValue) {
|