directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r901726 - /directory/apacheds/trunk/core-entry/src/main/java/org/apache/directory/server/core/entry/ServerBinaryValue.java
Date Thu, 21 Jan 2010 14:45:11 GMT
Author: elecharny
Date: Thu Jan 21 14:45:10 2010
New Revision: 901726

URL: http://svn.apache.org/viewvc?rev=901726&view=rev
Log:
Fixed a compilation error on java 5

Modified:
    directory/apacheds/trunk/core-entry/src/main/java/org/apache/directory/server/core/entry/ServerBinaryValue.java

Modified: directory/apacheds/trunk/core-entry/src/main/java/org/apache/directory/server/core/entry/ServerBinaryValue.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-entry/src/main/java/org/apache/directory/server/core/entry/ServerBinaryValue.java?rev=901726&r1=901725&r2=901726&view=diff
==============================================================================
--- directory/apacheds/trunk/core-entry/src/main/java/org/apache/directory/server/core/entry/ServerBinaryValue.java
(original)
+++ directory/apacheds/trunk/core-entry/src/main/java/org/apache/directory/server/core/entry/ServerBinaryValue.java
Thu Jan 21 14:45:10 2010
@@ -369,7 +369,7 @@
 
             try
             {
-                Comparator<? super byte[]> comparator = getLdapComparator();
+                Comparator<byte[]> comparator = (Comparator<byte[]>)getLdapComparator();
 
                 if ( comparator != null )
                 {
@@ -490,7 +490,7 @@
         {
             try
             {
-                LdapComparator<? super byte[]> comparator = getLdapComparator();
+                Comparator<byte[]> comparator = (Comparator<byte[]>)getLdapComparator();
 
                 // Compare normalized values
                 if ( comparator == null )
@@ -567,7 +567,7 @@
      * @return a comparator associated with the attributeType or null if one cannot be found
      * @throws NamingException if resolution of schema entities fail
      */
-    private LdapComparator<? super Object> getLdapComparator() throws NamingException
+    private LdapComparator<?> getLdapComparator() throws NamingException
     {
         MatchingRule mr = getMatchingRule();
 



Mime
View raw message