You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by de...@apache.org on 2013/07/02 10:18:25 UTC

svn commit: r1498823 - in /sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/core: LatLon.java LatLonPointRadius.java LatLonRect.java

Author: desruisseaux
Date: Tue Jul  2 08:18:24 2013
New Revision: 1498823

URL: http://svn.apache.org/r1498823
Log:
Added deprecation tags for classes to be replaced by OGC/ISO equivalents.

Modified:
    sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/core/LatLon.java
    sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/core/LatLonPointRadius.java
    sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/core/LatLonRect.java

Modified: sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/core/LatLon.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/core/LatLon.java?rev=1498823&r1=1498822&r2=1498823&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/core/LatLon.java [UTF-8] (original)
+++ sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/core/LatLon.java [UTF-8] Tue Jul  2 08:18:24 2013
@@ -22,8 +22,9 @@ import org.apache.sis.geometry.DirectPos
 /**
  * Represents 2D point on earth surface by latitude and longitude.
  *
- *
+ * @deprecated Replaced by {@link org.opengis.geometry.DirectPosition}, which is derived from OGC/ISO specifications.
  */
+@Deprecated
 public class LatLon extends DirectPosition2D {
 
   /**

Modified: sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/core/LatLonPointRadius.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/core/LatLonPointRadius.java?rev=1498823&r1=1498822&r2=1498823&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/core/LatLonPointRadius.java [UTF-8] (original)
+++ sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/core/LatLonPointRadius.java [UTF-8] Tue Jul  2 08:18:24 2013
@@ -30,7 +30,9 @@ import org.apache.sis.geometry.GeneralDi
  * Represents a 2D point associated with a radius to enable great circle
  * estimation on earth surface.
  *
+ * @deprecated Replaced by {@link org.opengis.geometry.DirectPosition}, which is derived from OGC/ISO specifications.
  */
+@Deprecated
 public class LatLonPointRadius extends GeneralDirectPosition {
 
   /**

Modified: sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/core/LatLonRect.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/core/LatLonRect.java?rev=1498823&r1=1498822&r2=1498823&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/core/LatLonRect.java [UTF-8] (original)
+++ sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/core/LatLonRect.java [UTF-8] Tue Jul  2 08:18:24 2013
@@ -27,7 +27,9 @@ import org.apache.sis.geometry.Envelope2
  * Represents a 2D rectangle on earth surface specified by lower left and upper
  * right coordinates.
  *
+ * @deprecated Replaced by {@link org.opengis.geometry.Envelope}, which is derived from OGC/ISO specifications.
  */
+@Deprecated
 public class LatLonRect extends Envelope2D {
 
   /**