You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2010/01/21 15:45:11 UTC
svn commit: r901726 -
/directory/apacheds/trunk/core-entry/src/main/java/org/apache/directory/server/core/entry/ServerBinaryValue.java
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();