sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1554729 - /sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/ReferencingTypes.java
Date Thu, 02 Jan 2014 03:24:25 GMT
Author: desruisseaux
Date: Thu Jan  2 03:24:25 2014
New Revision: 1554729

URL: http://svn.apache.org/r1554729
Log:
Removed a temporary hack which is not needed anymore.

Modified:
    sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/ReferencingTypes.java

Modified: sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/ReferencingTypes.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/ReferencingTypes.java?rev=1554729&r1=1554728&r2=1554729&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/ReferencingTypes.java
[UTF-8] (original)
+++ sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/ReferencingTypes.java
[UTF-8] Thu Jan  2 03:24:25 2014
@@ -36,23 +36,6 @@ public final class ReferencingTypes exte
      */
     @Override
     public void getTypes(final Collection<Class<?>> addTo) {
-        if (exists(addTo)) return;
         addTo.add(AbstractIdentifiedObject.class);
     }
-
-    /**
-     * Temporary workaround for avoiding a conflict between SIS and Geotk JAXB annotations.
-     * To be removed after we finished the port of Geotk referencing module to Apache SIS.
-     *
-     * @deprecated To be removed after sis-referencing completion.
-     */
-    @Deprecated
-    private static boolean exists(final Collection<Class<?>> addTo) {
-        for (final Class<?> type : addTo) {
-            if (org.opengis.referencing.crs.CoordinateReferenceSystem.class.isAssignableFrom(type))
{
-                return true;
-            }
-        }
-        return false;
-    }
 }



Mime
View raw message