directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1039401 - /directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/flags/AbstractKerberosFlags.java
Date Fri, 26 Nov 2010 15:05:43 GMT
Author: elecharny
Date: Fri Nov 26 15:05:43 2010
New Revision: 1039401

URL: http://svn.apache.org/viewvc?rev=1039401&view=rev
Log:
Fix the class so that the flags are correctly stored

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=1039401&r1=1039400&r2=1039401&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
Fri Nov 26 15:05:43 2010
@@ -62,7 +62,7 @@ public abstract class AbstractKerberosFl
     {
         super( MAX_SIZE );
 
-        this.value = value;
+        setData( value );
     }
     
     
@@ -81,6 +81,8 @@ public abstract class AbstractKerberosFl
         bytes[3] = (byte)( (value >> 16) & 0x00FF );
         bytes[3] = (byte)( (value >> 8) & 0x00FF );
         bytes[4] = (byte)(value & 0x00FF);
+        
+        this.value = value;
     }
 
     



Mime
View raw message