Author: desruisseaux
Date: Tue Jan 7 16:55:31 2014
New Revision: 1556273
URL: http://svn.apache.org/r1556273
Log:
Added a note in javadoc about immutability and thread-safety.
Modified:
sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultEngineeringCRS.java
sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultGeocentricCRS.java
sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultGeographicCRS.java
sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultImageCRS.java
sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultTemporalCRS.java
sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultVerticalCRS.java
Modified:
sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultEngineeringCRS.java
URL:
http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultEngineeringCRS.java?rev=1556273&r1=1556272&r2=1556273&view=diff
==============================================================================
---
sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultEngineeringCRS.java
[UTF-8] (original)
+++
sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultEngineeringCRS.java
[UTF-8] Tue Jan 7 16:55:31 2014
@@ -55,6 +55,11 @@ import static org.apache.sis.util.Argume
* {@linkplain org.apache.sis.referencing.cs.DefaultLinearCS Linear}.
* </p>
*
+ * {@section Immutability and thread safety}
+ * This class is immutable and thus thread-safe if the property
<em>values</em> (not necessarily the map itself),
+ * the coordinate system and the datum instances given to the constructor are
also immutable. Unless otherwise noted
+ * in the javadoc, this condition holds if all components were created using
only SIS factories and static constants.
+ *
* @author Martin Desruisseaux (IRD, Geomatys)
* @since 0.4 (derived from geotk-1.2)
* @version 0.4
Modified:
sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultGeocentricCRS.java
URL:
http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultGeocentricCRS.java?rev=1556273&r1=1556272&r2=1556273&view=diff
==============================================================================
---
sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultGeocentricCRS.java
[UTF-8] (original)
+++
sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultGeocentricCRS.java
[UTF-8] Tue Jan 7 16:55:31 2014
@@ -38,6 +38,11 @@ import org.apache.sis.referencing.Abstra
* {@linkplain org.apache.sis.referencing.cs.DefaultSphericalCS Spherical}.
* </p>
*
+ * {@section Immutability and thread safety}
+ * This class is immutable and thus thread-safe if the property
<em>values</em> (not necessarily the map itself),
+ * the coordinate system and the datum instances given to the constructor are
also immutable. Unless otherwise noted
+ * in the javadoc, this condition holds if all components were created using
only SIS factories and static constants.
+ *
* @author Martin Desruisseaux (IRD, Geomatys)
* @since 0.4 (derived from geotk-1.2)
* @version 0.4
Modified:
sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultGeographicCRS.java
URL:
http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultGeographicCRS.java?rev=1556273&r1=1556272&r2=1556273&view=diff
==============================================================================
---
sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultGeographicCRS.java
[UTF-8] (original)
+++
sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultGeographicCRS.java
[UTF-8] Tue Jan 7 16:55:31 2014
@@ -42,6 +42,11 @@ import org.apache.sis.measure.Units;
* {@linkplain org.apache.sis.referencing.cs.DefaultEllipsoidalCS
Ellipsoidal}.
* </p>
*
+ * {@section Immutability and thread safety}
+ * This class is immutable and thus thread-safe if the property
<em>values</em> (not necessarily the map itself),
+ * the coordinate system and the datum instances given to the constructor are
also immutable. Unless otherwise noted
+ * in the javadoc, this condition holds if all components were created using
only SIS factories and static constants.
+ *
* @author Martin Desruisseaux (IRD, Geomatys)
* @since 0.4 (derived from geotk-1.2)
* @version 0.4
Modified:
sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultImageCRS.java
URL:
http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultImageCRS.java?rev=1556273&r1=1556272&r2=1556273&view=diff
==============================================================================
---
sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultImageCRS.java
[UTF-8] (original)
+++
sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultImageCRS.java
[UTF-8] Tue Jan 7 16:55:31 2014
@@ -39,6 +39,11 @@ import static org.apache.sis.util.Argume
* {@linkplain org.apache.sis.referencing.cs.DefaultAffineCS Affine}.
* </p>
*
+ * {@section Immutability and thread safety}
+ * This class is immutable and thus thread-safe if the property
<em>values</em> (not necessarily the map itself),
+ * the coordinate system and the datum instances given to the constructor are
also immutable. Unless otherwise noted
+ * in the javadoc, this condition holds if all components were created using
only SIS factories and static constants.
+ *
* @author Martin Desruisseaux (IRD, Geomatys)
* @since 0.4 (derived from geotk-1.2)
* @version 0.4
Modified:
sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultTemporalCRS.java
URL:
http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultTemporalCRS.java?rev=1556273&r1=1556272&r2=1556273&view=diff
==============================================================================
---
sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultTemporalCRS.java
[UTF-8] (original)
+++
sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultTemporalCRS.java
[UTF-8] Tue Jan 7 16:55:31 2014
@@ -45,6 +45,11 @@ import static org.apache.sis.util.Argume
* {@linkplain org.apache.sis.referencing.cs.DefaultTimeCS Time}.
* </p>
*
+ * {@section Immutability and thread safety}
+ * This class is immutable and thus thread-safe if the property
<em>values</em> (not necessarily the map itself),
+ * the coordinate system and the datum instances given to the constructor are
also immutable. Unless otherwise noted
+ * in the javadoc, this condition holds if all components were created using
only SIS factories and static constants.
+ *
* @author Martin Desruisseaux (IRD, Geomatys)
* @since 0.4 (derived from geotk-1.2)
* @version 0.4
Modified:
sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultVerticalCRS.java
URL:
http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultVerticalCRS.java?rev=1556273&r1=1556272&r2=1556273&view=diff
==============================================================================
---
sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultVerticalCRS.java
[UTF-8] (original)
+++
sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultVerticalCRS.java
[UTF-8] Tue Jan 7 16:55:31 2014
@@ -38,6 +38,11 @@ import static org.apache.sis.util.Argume
* {@linkplain org.apache.sis.referencing.cs.DefaultVerticalCS Vertical}.
* </p>
*
+ * {@section Immutability and thread safety}
+ * This class is immutable and thus thread-safe if the property
<em>values</em> (not necessarily the map itself),
+ * the coordinate system and the datum instances given to the constructor are
also immutable. Unless otherwise noted
+ * in the javadoc, this condition holds if all components were created using
only SIS factories and static constants.
+ *
* @author Martin Desruisseaux (IRD, Geomatys)
* @since 0.4 (derived from geotk-1.2)
* @version 0.4