directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1038989 - /directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/flags/AbstractKerberosFlags.java
Date Thu, 25 Nov 2010 10:25:07 GMT
Author: elecharny
Date: Thu Nov 25 10:25:06 2010
New Revision: 1038989

URL: http://svn.apache.org/viewvc?rev=1038989&view=rev
Log:
getOrdinal() has been replaced by getValue()

Modified:
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/flags/AbstractKerberosFlags.java

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/flags/AbstractKerberosFlags.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/flags/AbstractKerberosFlags.java?rev=1038989&r1=1038988&r2=1038989&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/flags/AbstractKerberosFlags.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/flags/AbstractKerberosFlags.java
Thu Nov 25 10:25:06 2010
@@ -180,7 +180,7 @@ public abstract class AbstractKerberosFl
      */
     public void clearFlag( KerberosFlag flag )
     {
-        int pos = MAX_SIZE - 1 - flag.getOrdinal();
+        int pos = MAX_SIZE - 1 - flag.getValue();
         clearBit( pos );
         value &= ~( 1 << pos );
     }



Mime
View raw message