sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1519964 - in /sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing: ./ datum/
Date Wed, 04 Sep 2013 09:55:18 GMT
Author: desruisseaux
Date: Wed Sep  4 09:55:18 2013
New Revision: 1519964

URL: http://svn.apache.org/r1519964
Log:
Added an implementation note.

Modified:
    sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/AbstractReferenceSystem.java
    sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/AbstractDatum.java
    sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultEngineeringDatum.java
    sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultImageDatum.java
    sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultPrimeMeridian.java
    sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultTemporalDatum.java

Modified: sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/AbstractReferenceSystem.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/AbstractReferenceSystem.java?rev=1519964&r1=1519963&r2=1519964&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/AbstractReferenceSystem.java
[UTF-8] (original)
+++ sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/AbstractReferenceSystem.java
[UTF-8] Wed Sep  4 09:55:18 2013
@@ -192,6 +192,10 @@ public class AbstractReferenceSystem ext
      */
     @Override
     public int hashCode(final ComparisonMode mode) throws IllegalArgumentException {
+        /*
+         * The "^ (int) serialVersionUID" is an arbitrary change applied to the hash code
value in order to
+         * differentiate this ReferenceSystem implementation from implementations of other
GeoAPI interfaces.
+         */
         int code = super.hashCode(mode) ^ (int) serialVersionUID;
         switch (mode) {
             case STRICT: {

Modified: sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/AbstractDatum.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/AbstractDatum.java?rev=1519964&r1=1519963&r2=1519964&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/AbstractDatum.java
[UTF-8] (original)
+++ sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/AbstractDatum.java
[UTF-8] Wed Sep  4 09:55:18 2013
@@ -305,6 +305,10 @@ public class AbstractDatum extends Abstr
      */
     @Override
     public int hashCode(final ComparisonMode mode) throws IllegalArgumentException {
+        /*
+         * The "^ (int) serialVersionUID" is an arbitrary change applied to the hash code
value in order to
+         * differentiate this Datum implementation from implementations of other GeoAPI interfaces.
+         */
         int code = super.hashCode(mode) ^ (int) serialVersionUID;
         switch (mode) {
             case STRICT: {

Modified: sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultEngineeringDatum.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultEngineeringDatum.java?rev=1519964&r1=1519963&r2=1519964&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultEngineeringDatum.java
[UTF-8] (original)
+++ sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultEngineeringDatum.java
[UTF-8] Wed Sep  4 09:55:18 2013
@@ -115,6 +115,10 @@ public class DefaultEngineeringDatum ext
      */
     @Override
     public int hashCode(final ComparisonMode mode) throws IllegalArgumentException {
+        /*
+         * The "^ (int) serialVersionUID" is an arbitrary change applied to the hash code
value in order to
+         * differentiate this EngineeringDatum implementation from implementations of other
GeoAPI interfaces.
+         */
         return super.hashCode(mode) ^ (int) serialVersionUID;
     }
 

Modified: sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultImageDatum.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultImageDatum.java?rev=1519964&r1=1519963&r2=1519964&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultImageDatum.java
[UTF-8] (original)
+++ sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultImageDatum.java
[UTF-8] Wed Sep  4 09:55:18 2013
@@ -153,6 +153,10 @@ public class DefaultImageDatum extends A
      */
     @Override
     public int hashCode(final ComparisonMode mode) throws IllegalArgumentException {
+        /*
+         * The "^ (int) serialVersionUID" is an arbitrary change applied to the hash code
value in order to
+         * differentiate this ImageDatum implementation from implementations of other GeoAPI
interfaces.
+         */
         int code = super.hashCode(mode) ^ (int) serialVersionUID;
         switch (mode) {
             case STRICT: {

Modified: sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultPrimeMeridian.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultPrimeMeridian.java?rev=1519964&r1=1519963&r2=1519964&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultPrimeMeridian.java
[UTF-8] (original)
+++ sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultPrimeMeridian.java
[UTF-8] Wed Sep  4 09:55:18 2013
@@ -245,6 +245,10 @@ public class DefaultPrimeMeridian extend
      */
     @Override
     public int hashCode(final ComparisonMode mode) throws IllegalArgumentException {
+        /*
+         * The "^ (int) serialVersionUID" is an arbitrary change applied to the hash code
value in order to
+         * differentiate this PrimeMeridian implementation from implementations of other
GeoAPI interfaces.
+         */
         int code = super.hashCode(mode) ^ (int) serialVersionUID;
         switch (mode) {
             case STRICT: {

Modified: sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultTemporalDatum.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultTemporalDatum.java?rev=1519964&r1=1519963&r2=1519964&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultTemporalDatum.java
(original)
+++ sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultTemporalDatum.java
Wed Sep  4 09:55:18 2013
@@ -201,7 +201,7 @@ public class DefaultTemporalDatum extend
     public int hashCode(final ComparisonMode mode) throws IllegalArgumentException {
         /*
          * The "^ (int) serialVersionUID" is an arbitrary change applied to the hash code
value in order to
-         * differentiate TemporalDatum implementations from implementations of other GeoAPI
interfaces.
+         * differentiate this TemporalDatum implementation from implementations of other
GeoAPI interfaces.
          */
         int code = super.hashCode(mode) ^ (int) serialVersionUID;
         switch (mode) {



Mime
View raw message