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 2009/10/16 10:00:25 UTC
svn commit: r825793 -
/directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/comparators/IntegerOrderingComparator.java
Author: elecharny
Date: Fri Oct 16 08:00:24 2009
New Revision: 825793
URL: http://svn.apache.org/viewvc?rev=825793&view=rev
Log:
Used Long instead of int for Integer values
Modified:
directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/comparators/IntegerOrderingComparator.java
Modified: directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/comparators/IntegerOrderingComparator.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/comparators/IntegerOrderingComparator.java?rev=825793&r1=825792&r2=825793&view=diff
==============================================================================
--- directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/comparators/IntegerOrderingComparator.java (original)
+++ directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/comparators/IntegerOrderingComparator.java Fri Oct 16 08:00:24 2009
@@ -80,8 +80,8 @@
// Both object must be stored as String for boolean
// values. If this is not the case, we have a pb...
// However, the method will then throw a ClassCastException
- int b1 = Integer.parseInt( backendValue );
- int b2 = Integer.parseInt( assertValue );
+ long b1 = Long.parseLong( backendValue );
+ long b2 = Long.parseLong( assertValue );
if ( b1 == b2 )
{