directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1470309 - /directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/changepwd/messages/ChangePasswordError.java
Date Sun, 21 Apr 2013 15:14:03 GMT
Author: kayyagari
Date: Sun Apr 21 15:14:02 2013
New Revision: 1470309

URL: http://svn.apache.org/r1470309
Log:
no need to flip if the buffer was wrapped

Modified:
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/changepwd/messages/ChangePasswordError.java

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/changepwd/messages/ChangePasswordError.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/changepwd/messages/ChangePasswordError.java?rev=1470309&r1=1470308&r2=1470309&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/changepwd/messages/ChangePasswordError.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/changepwd/messages/ChangePasswordError.java
Sun Apr 21 15:14:02 2013
@@ -118,7 +118,6 @@ public class ChangePasswordError extends
 
         buf.get( errorBytes );
         ByteBuffer errorBuffer = ByteBuffer.wrap( errorBytes );
-        errorBuffer.flip();
 
         KrbErrorContainer container = new KrbErrorContainer( errorBuffer );
         Asn1Decoder decoder = new Asn1Decoder();



Mime
View raw message