directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r777279 - /directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/SerializableComparator.java
Date Thu, 21 May 2009 22:01:19 GMT
Author: elecharny
Date: Thu May 21 22:01:18 2009
New Revision: 777279

URL: http://svn.apache.org/viewvc?rev=777279&view=rev
Log:
Without the cast, the compiler will complain ...

Modified:
    directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/SerializableComparator.java

Modified: directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/SerializableComparator.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/SerializableComparator.java?rev=777279&r1=777278&r2=777279&view=diff
==============================================================================
--- directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/SerializableComparator.java
(original)
+++ directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/SerializableComparator.java
Thu May 21 22:01:18 2009
@@ -88,7 +88,7 @@
         {
             try
             {
-                wrapped = registry.lookup( matchingRuleOid );
+                wrapped = (Comparator<E>)registry.lookup( matchingRuleOid );
             }
             catch ( NamingException e )
             {



Mime
View raw message