directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1679576 - in /directory/apacheds/trunk/kerberos-codec/src: main/java/org/apache/directory/server/kerberos/changepwd/messages/ main/java/org/apache/directory/server/kerberos/shared/crypto/encryption/ main/java/org/apache/directory/server/ke...
Date Fri, 15 May 2015 14:49:32 GMT
Author: elecharny
Date: Fri May 15 14:49:31 2015
New Revision: 1679576

URL: http://svn.apache.org/r1679576
Log:
o Replaced a direct access to grammar by a call to teh accessor, as the field is now private
o Removed some warnings

Modified:
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/changepwd/messages/ChangePasswordRequest.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/shared/crypto/encryption/KerberosKeyFactory.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/shared/keytab/Keytab.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/EncKdcRepPart/EncKdcRepPartContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/KerberosMessageContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/adAndOr/AdAndOrContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/adKdcIssued/AdKdcIssuedContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/apRep/ApRepContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/apReq/ApReqContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/asRep/AsRepContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/asReq/AsReqContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/authenticator/AuthenticatorContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/authorizationData/AuthorizationDataContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/changePwdData/ChangePasswdDataContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/checksum/ChecksumContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encApRepPart/EncApRepPartContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encAsRepPart/EncAsRepPartContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbCredPart/EncKrbCredPartContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbPrivPart/EncKrbPrivPartContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encTgsRepPart/EncTgsRepPartContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encTicketPart/EncTicketPartContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptedData/EncryptedDataContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey/EncryptionKeyContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfo/ETypeInfoContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfo2/ETypeInfo2Container.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfo2Entry/ETypeInfo2EntryContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfoEntry/ETypeInfoEntryContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddress/HostAddressContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddresses/HostAddressesContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcRep/KdcRepContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcReq/KdcReqContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcReqBody/KdcReqBodyContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbCred/KrbCredContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbCredInfo/KrbCredInfoContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError/KrbErrorContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbPriv/KrbPrivContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbSafe/KrbSafeContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbSafeBody/KrbSafeBodyContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/lastReq/LastReqContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/methodData/MethodDataContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/options/ApOptions.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/options/KdcOptions.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/options/Options.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/paEncTsEnc/PaEncTsEncContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/padata/PaDataContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/principalName/PrincipalNameContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/tgsRep/TgsRepContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/tgsReq/TgsReqContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/ticket/TicketContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/transitedEncoding/TransitedEncodingContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/typedData/TypedDataContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/flags/AbstractKerberosFlags.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/flags/TicketFlags.java
    directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/server/kerberos/shared/keytab/KeytabTest.java
    directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/server/kerberos/shared/messages/value/flags/AbstractKerberosFlagsTest.java
    directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/shared/kerberos/codec/KdcReqBodyDecoderTest.java
    directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/shared/kerberos/codec/options/OptionsTest.java

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/changepwd/messages/ChangePasswordRequest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/changepwd/messages/ChangePasswordRequest.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/changepwd/messages/ChangePasswordRequest.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/changepwd/messages/ChangePasswordRequest.java Fri May 15 14:49:31 2015
@@ -23,9 +23,9 @@ package org.apache.directory.server.kerb
 import java.io.IOException;
 import java.nio.ByteBuffer;
 
+import org.apache.directory.api.asn1.EncoderException;
 import org.apache.directory.server.kerberos.changepwd.exceptions.ChangePasswdErrorType;
 import org.apache.directory.server.kerberos.changepwd.exceptions.ChangePasswordException;
-import org.apache.directory.api.asn1.EncoderException;
 import org.apache.directory.shared.kerberos.codec.KerberosDecoder;
 import org.apache.directory.shared.kerberos.exceptions.KerberosException;
 import org.apache.directory.shared.kerberos.messages.ApReq;
@@ -44,12 +44,13 @@ public class ChangePasswordRequest exten
     private short privateMessageLen;
     private short messageLength;
 
+
     public ChangePasswordRequest( ApReq authHeader, KrbPriv privateMessage )
     {
         this( PVNO, authHeader, privateMessage );
     }
-    
-    
+
+
     /**
      * Creates a new instance of ChangePasswordRequest.
      *
@@ -87,15 +88,15 @@ public class ChangePasswordRequest exten
         return privateMessage;
     }
 
-    
+
     @Override
     public short computeLength()
     {
         authHeaderLen = ( short ) authHeader.computeLength();
         privateMessageLen = ( short ) privateMessage.computeLength();
-        
+
         messageLength = ( short ) ( HEADER_LENGTH + authHeaderLen + privateMessageLen );
-        
+
         return messageLength;
     }
 
@@ -105,16 +106,17 @@ public class ChangePasswordRequest exten
     {
         buf.putShort( messageLength );
         buf.putShort( getVersionNumber() );
-        
+
         // Build application request bytes
         buf.putShort( authHeaderLen );
         authHeader.encode( buf );
-        
+
         privateMessage.encode( buf );
-        
+
         return buf;
     }
-    
+
+
     /**
      * Decodes a {@link ByteBuffer} into a {@link ChangePasswordRequest}.
      *
@@ -126,25 +128,25 @@ public class ChangePasswordRequest exten
     {
         try
         {
-            short msgLen = buf.getShort(); // message length
-            
+            buf.getShort(); // message length
+
             short pvno = buf.getShort();
-            
+
             short authHeaderLength = buf.getShort();
-            
+
             byte[] undecodedAuthHeader = new byte[authHeaderLength];
             buf.get( undecodedAuthHeader, 0, authHeaderLength );
-            
+
             ApReq authHeader = KerberosDecoder.decodeApReq( undecodedAuthHeader );
-            
+
             byte[] encodedPrivate = new byte[buf.remaining()];
             buf.get( encodedPrivate, 0, buf.remaining() );
-            
+
             KrbPriv privMessage = KerberosDecoder.decodeKrbPriv( encodedPrivate );
-            
+
             return new ChangePasswordRequest( pvno, authHeader, privMessage );
         }
-        catch( KerberosException e )
+        catch ( KerberosException e )
         {
             throw new ChangePasswordException( ChangePasswdErrorType.KRB5_KPASSWD_MALFORMED, e );
         }

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/shared/crypto/encryption/KerberosKeyFactory.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/shared/crypto/encryption/KerberosKeyFactory.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/shared/crypto/encryption/KerberosKeyFactory.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/shared/crypto/encryption/KerberosKeyFactory.java Fri May 15 14:49:31 2015
@@ -84,7 +84,6 @@ public class KerberosKeyFactory
      * @return The list of KerberosKey's.
      */
     // This will suppress PMD.EmptyCatchBlock warnings in this method
-    @SuppressWarnings("PMD.EmptyCatchBlock")
     public static Map<EncryptionType, EncryptionKey> getKerberosKeys( String principalName, String passPhrase,
         Set<EncryptionType> ciphers )
     {

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/shared/keytab/Keytab.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/shared/keytab/Keytab.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/shared/keytab/Keytab.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/shared/keytab/Keytab.java Fri May 15 14:49:31 2015
@@ -224,7 +224,7 @@ public class Keytab
      */
     protected static byte[] getBytesFromFile( File file ) throws IOException
     {
-        try ( InputStream is = new FileInputStream( file ) )
+        try (InputStream is = new FileInputStream( file ))
         {
 
             long length = file.length();
@@ -252,7 +252,6 @@ public class Keytab
                 throw new IOException( I18n.err( I18n.ERR_619, file.getName() ) );
             }
 
-
             return bytes;
         }
     }
@@ -268,10 +267,16 @@ public class Keytab
     protected void writeFile( ByteBuffer buffer, File file ) throws IOException
     {
         // Set append false to replace existing.
-        try ( FileChannel wChannel = new FileOutputStream( file, false ).getChannel() )
+        FileOutputStream fout = new FileOutputStream( file, false );
+
+        try (FileChannel wChannel = fout.getChannel())
         {
             // Write the bytes between the position and limit.
             wChannel.write( buffer );
         }
+        finally
+        {
+            fout.close();
+        }
     }
 }

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/EncKdcRepPart/EncKdcRepPartContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/EncKdcRepPart/EncKdcRepPartContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/EncKdcRepPart/EncKdcRepPartContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/EncKdcRepPart/EncKdcRepPartContainer.java Fri May 15 14:49:31 2015
@@ -44,7 +44,7 @@ public class EncKdcRepPartContainer exte
     public EncKdcRepPartContainer( ByteBuffer stream )
     {
         super( stream );
-        this.grammar = EncKdcRepPartGrammar.getInstance();
+        setGrammar( EncKdcRepPartGrammar.getInstance() );
         setTransition( EncKdcRepPartStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/KerberosMessageContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/KerberosMessageContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/KerberosMessageContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/KerberosMessageContainer.java Fri May 15 14:49:31 2015
@@ -55,7 +55,7 @@ public class KerberosMessageContainer ex
     public KerberosMessageContainer()
     {
         super();
-        this.grammar = KerberosMessageGrammar.getInstance();
+        setGrammar( KerberosMessageGrammar.getInstance() );
         setTransition( KerberosMessageStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/adAndOr/AdAndOrContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/adAndOr/AdAndOrContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/adAndOr/AdAndOrContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/adAndOr/AdAndOrContainer.java Fri May 15 14:49:31 2015
@@ -41,7 +41,7 @@ public class AdAndOrContainer extends Ab
     public AdAndOrContainer()
     {
         super();
-        this.grammar = AdAndOrGrammar.getInstance();
+        setGrammar( AdAndOrGrammar.getInstance() );
         setTransition( AdAndOrStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/adKdcIssued/AdKdcIssuedContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/adKdcIssued/AdKdcIssuedContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/adKdcIssued/AdKdcIssuedContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/adKdcIssued/AdKdcIssuedContainer.java Fri May 15 14:49:31 2015
@@ -41,7 +41,7 @@ public class AdKdcIssuedContainer extend
     public AdKdcIssuedContainer()
     {
         super();
-        this.grammar = AdKDCIssuedGrammar.getInstance();
+        setGrammar( AdKDCIssuedGrammar.getInstance() );
         setTransition( AdKDCIssuedStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/apRep/ApRepContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/apRep/ApRepContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/apRep/ApRepContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/apRep/ApRepContainer.java Fri May 15 14:49:31 2015
@@ -44,7 +44,7 @@ public class ApRepContainer extends Abst
     public ApRepContainer( ByteBuffer stream )
     {
         super( stream );
-        this.grammar = ApRepGrammar.getInstance();
+        setGrammar( ApRepGrammar.getInstance() );
         setTransition( ApRepStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/apReq/ApReqContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/apReq/ApReqContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/apReq/ApReqContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/apReq/ApReqContainer.java Fri May 15 14:49:31 2015
@@ -44,7 +44,7 @@ public class ApReqContainer extends Abst
     public ApReqContainer( ByteBuffer stream )
     {
         super( stream );
-        this.grammar = ApReqGrammar.getInstance();
+        setGrammar( ApReqGrammar.getInstance() );
         setTransition( ApReqStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/asRep/AsRepContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/asRep/AsRepContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/asRep/AsRepContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/asRep/AsRepContainer.java Fri May 15 14:49:31 2015
@@ -44,7 +44,7 @@ public class AsRepContainer extends KdcR
     public AsRepContainer( ByteBuffer stream )
     {
         super( stream );
-        this.grammar = AsRepGrammar.getInstance();
+        setGrammar( AsRepGrammar.getInstance() );
         setTransition( AsRepStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/asReq/AsReqContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/asReq/AsReqContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/asReq/AsReqContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/asReq/AsReqContainer.java Fri May 15 14:49:31 2015
@@ -44,7 +44,7 @@ public class AsReqContainer extends KdcR
     public AsReqContainer( ByteBuffer stream )
     {
         super( stream );
-        this.grammar = AsReqGrammar.getInstance();
+        setGrammar( AsReqGrammar.getInstance() );
         setTransition( AsReqStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/authenticator/AuthenticatorContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/authenticator/AuthenticatorContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/authenticator/AuthenticatorContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/authenticator/AuthenticatorContainer.java Fri May 15 14:49:31 2015
@@ -44,7 +44,7 @@ public class AuthenticatorContainer exte
     public AuthenticatorContainer( ByteBuffer stream )
     {
         super( stream );
-        this.grammar = AuthenticatorGrammar.getInstance();
+        setGrammar( AuthenticatorGrammar.getInstance() );
         setTransition( AuthenticatorStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/authorizationData/AuthorizationDataContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/authorizationData/AuthorizationDataContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/authorizationData/AuthorizationDataContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/authorizationData/AuthorizationDataContainer.java Fri May 15 14:49:31 2015
@@ -41,7 +41,7 @@ public class AuthorizationDataContainer
     public AuthorizationDataContainer()
     {
         super();
-        this.grammar = AuthorizationDataGrammar.getInstance();
+        setGrammar( AuthorizationDataGrammar.getInstance() );
         setTransition( AuthorizationDataStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/changePwdData/ChangePasswdDataContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/changePwdData/ChangePasswdDataContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/changePwdData/ChangePasswdDataContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/changePwdData/ChangePasswdDataContainer.java Fri May 15 14:49:31 2015
@@ -44,7 +44,7 @@ public class ChangePasswdDataContainer e
     public ChangePasswdDataContainer( ByteBuffer stream )
     {
         super( stream );
-        this.grammar = ChangePasswdDataGrammar.getInstance();
+        setGrammar( ChangePasswdDataGrammar.getInstance() );
         setTransition( ChangePasswdDataStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/checksum/ChecksumContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/checksum/ChecksumContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/checksum/ChecksumContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/checksum/ChecksumContainer.java Fri May 15 14:49:31 2015
@@ -41,7 +41,7 @@ public class ChecksumContainer extends A
     public ChecksumContainer()
     {
         super();
-        this.grammar = ChecksumGrammar.getInstance();
+        setGrammar( ChecksumGrammar.getInstance() );
         setTransition( ChecksumStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encApRepPart/EncApRepPartContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encApRepPart/EncApRepPartContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encApRepPart/EncApRepPartContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encApRepPart/EncApRepPartContainer.java Fri May 15 14:49:31 2015
@@ -44,7 +44,7 @@ public class EncApRepPartContainer exten
     public EncApRepPartContainer( ByteBuffer stream )
     {
         super( stream );
-        this.grammar = EncApRepPartGrammar.getInstance();
+        setGrammar( EncApRepPartGrammar.getInstance() );
         setTransition( EncApRepPartStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encAsRepPart/EncAsRepPartContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encAsRepPart/EncAsRepPartContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encAsRepPart/EncAsRepPartContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encAsRepPart/EncAsRepPartContainer.java Fri May 15 14:49:31 2015
@@ -44,7 +44,7 @@ public class EncAsRepPartContainer exten
     public EncAsRepPartContainer( ByteBuffer stream )
     {
         super( stream );
-        this.grammar = EncAsRepPartGrammar.getInstance();
+        setGrammar( EncAsRepPartGrammar.getInstance() );
         setTransition( EncAsRepPartStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbCredPart/EncKrbCredPartContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbCredPart/EncKrbCredPartContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbCredPart/EncKrbCredPartContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbCredPart/EncKrbCredPartContainer.java Fri May 15 14:49:31 2015
@@ -44,7 +44,7 @@ public class EncKrbCredPartContainer ext
     public EncKrbCredPartContainer( ByteBuffer stream )
     {
         super( stream );
-        this.grammar = EncKrbCredPartGrammar.getInstance();
+        setGrammar( EncKrbCredPartGrammar.getInstance() );
         setTransition( EncKrbCredPartStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbPrivPart/EncKrbPrivPartContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbPrivPart/EncKrbPrivPartContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbPrivPart/EncKrbPrivPartContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbPrivPart/EncKrbPrivPartContainer.java Fri May 15 14:49:31 2015
@@ -44,7 +44,7 @@ public class EncKrbPrivPartContainer ext
     public EncKrbPrivPartContainer( ByteBuffer stream )
     {
         super( stream );
-        this.grammar = EncKrbPrivPartGrammar.getInstance();
+        setGrammar( EncKrbPrivPartGrammar.getInstance() );
         setTransition( EncKrbPrivPartStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encTgsRepPart/EncTgsRepPartContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encTgsRepPart/EncTgsRepPartContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encTgsRepPart/EncTgsRepPartContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encTgsRepPart/EncTgsRepPartContainer.java Fri May 15 14:49:31 2015
@@ -44,7 +44,7 @@ public class EncTgsRepPartContainer exte
     public EncTgsRepPartContainer( ByteBuffer stream )
     {
         super( stream );
-        this.grammar = EncTgsRepPartGrammar.getInstance();
+        setGrammar( EncTgsRepPartGrammar.getInstance() );
         setTransition( EncTgsRepPartStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encTicketPart/EncTicketPartContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encTicketPart/EncTicketPartContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encTicketPart/EncTicketPartContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encTicketPart/EncTicketPartContainer.java Fri May 15 14:49:31 2015
@@ -44,7 +44,7 @@ public class EncTicketPartContainer exte
     public EncTicketPartContainer( ByteBuffer stream )
     {
         super( stream );
-        this.grammar = EncTicketPartGrammar.getInstance();
+        setGrammar( EncTicketPartGrammar.getInstance() );
         setTransition( EncTicketPartStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptedData/EncryptedDataContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptedData/EncryptedDataContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptedData/EncryptedDataContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptedData/EncryptedDataContainer.java Fri May 15 14:49:31 2015
@@ -41,7 +41,7 @@ public class EncryptedDataContainer exte
     public EncryptedDataContainer()
     {
         super();
-        this.grammar = EncryptedDataGrammar.getInstance();
+        setGrammar( EncryptedDataGrammar.getInstance() );
         setTransition( EncryptedDataStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey/EncryptionKeyContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey/EncryptionKeyContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey/EncryptionKeyContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey/EncryptionKeyContainer.java Fri May 15 14:49:31 2015
@@ -41,7 +41,7 @@ public class EncryptionKeyContainer exte
     public EncryptionKeyContainer()
     {
         super();
-        this.grammar = EncryptionKeyGrammar.getInstance();
+        setGrammar( EncryptionKeyGrammar.getInstance() );
         setTransition( EncryptionKeyStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfo/ETypeInfoContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfo/ETypeInfoContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfo/ETypeInfoContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfo/ETypeInfoContainer.java Fri May 15 14:49:31 2015
@@ -42,7 +42,7 @@ public class ETypeInfoContainer extends
     public ETypeInfoContainer()
     {
         super();
-        this.grammar = ETypeInfoGrammar.getInstance();
+        setGrammar( ETypeInfoGrammar.getInstance() );
         setTransition( ETypeInfoStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfo2/ETypeInfo2Container.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfo2/ETypeInfo2Container.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfo2/ETypeInfo2Container.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfo2/ETypeInfo2Container.java Fri May 15 14:49:31 2015
@@ -42,7 +42,7 @@ public class ETypeInfo2Container extends
     public ETypeInfo2Container()
     {
         super();
-        this.grammar = ETypeInfo2Grammar.getInstance();
+        setGrammar( ETypeInfo2Grammar.getInstance() );
         setTransition( ETypeInfo2StatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfo2Entry/ETypeInfo2EntryContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfo2Entry/ETypeInfo2EntryContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfo2Entry/ETypeInfo2EntryContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfo2Entry/ETypeInfo2EntryContainer.java Fri May 15 14:49:31 2015
@@ -41,7 +41,7 @@ public class ETypeInfo2EntryContainer ex
     public ETypeInfo2EntryContainer()
     {
         super();
-        this.grammar = ETypeInfo2EntryGrammar.getInstance();
+        setGrammar( ETypeInfo2EntryGrammar.getInstance() );
         setTransition( ETypeInfo2EntryStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfoEntry/ETypeInfoEntryContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfoEntry/ETypeInfoEntryContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfoEntry/ETypeInfoEntryContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfoEntry/ETypeInfoEntryContainer.java Fri May 15 14:49:31 2015
@@ -41,7 +41,7 @@ public class ETypeInfoEntryContainer ext
     public ETypeInfoEntryContainer()
     {
         super();
-        this.grammar = ETypeInfoEntryGrammar.getInstance();
+        setGrammar( ETypeInfoEntryGrammar.getInstance() );
         setTransition( ETypeInfoEntryStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddress/HostAddressContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddress/HostAddressContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddress/HostAddressContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddress/HostAddressContainer.java Fri May 15 14:49:31 2015
@@ -41,7 +41,7 @@ public class HostAddressContainer extend
     public HostAddressContainer()
     {
         super();
-        this.grammar = HostAddressGrammar.getInstance();
+        setGrammar( HostAddressGrammar.getInstance() );
         setTransition( HostAddressStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddresses/HostAddressesContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddresses/HostAddressesContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddresses/HostAddressesContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddresses/HostAddressesContainer.java Fri May 15 14:49:31 2015
@@ -42,7 +42,7 @@ public class HostAddressesContainer exte
     public HostAddressesContainer()
     {
         super();
-        this.grammar = HostAddressesGrammar.getInstance();
+        setGrammar( HostAddressesGrammar.getInstance() );
         setTransition( HostAddressesStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcRep/KdcRepContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcRep/KdcRepContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcRep/KdcRepContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcRep/KdcRepContainer.java Fri May 15 14:49:31 2015
@@ -44,7 +44,7 @@ public class KdcRepContainer extends Abs
     public KdcRepContainer( ByteBuffer stream )
     {
         super( stream );
-        this.grammar = KdcRepGrammar.getInstance();
+        setGrammar( KdcRepGrammar.getInstance() );
         setTransition( KdcRepStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcReq/KdcReqContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcReq/KdcReqContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcReq/KdcReqContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcReq/KdcReqContainer.java Fri May 15 14:49:31 2015
@@ -44,7 +44,7 @@ public class KdcReqContainer extends Abs
     public KdcReqContainer( ByteBuffer stream )
     {
         super( stream );
-        this.grammar = KdcReqGrammar.getInstance();
+        setGrammar( KdcReqGrammar.getInstance() );
         setTransition( KdcReqStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcReqBody/KdcReqBodyContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcReqBody/KdcReqBodyContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcReqBody/KdcReqBodyContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcReqBody/KdcReqBodyContainer.java Fri May 15 14:49:31 2015
@@ -43,7 +43,7 @@ public class KdcReqBodyContainer extends
     public KdcReqBodyContainer( ByteBuffer stream )
     {
         super( stream );
-        this.grammar = KdcReqBodyGrammar.getInstance();
+        setGrammar( KdcReqBodyGrammar.getInstance() );
         setTransition( KdcReqBodyStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbCred/KrbCredContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbCred/KrbCredContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbCred/KrbCredContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbCred/KrbCredContainer.java Fri May 15 14:49:31 2015
@@ -44,7 +44,7 @@ public class KrbCredContainer extends Ab
     public KrbCredContainer( ByteBuffer stream )
     {
         super( stream );
-        this.grammar = KrbCredGrammar.getInstance();
+        setGrammar( KrbCredGrammar.getInstance() );
         setTransition( KrbCredStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbCredInfo/KrbCredInfoContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbCredInfo/KrbCredInfoContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbCredInfo/KrbCredInfoContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbCredInfo/KrbCredInfoContainer.java Fri May 15 14:49:31 2015
@@ -41,7 +41,7 @@ public class KrbCredInfoContainer extend
     public KrbCredInfoContainer()
     {
         super();
-        this.grammar = KrbCredInfoGrammar.getInstance();
+        setGrammar( KrbCredInfoGrammar.getInstance() );
         setTransition( KrbCredInfoStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError/KrbErrorContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError/KrbErrorContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError/KrbErrorContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError/KrbErrorContainer.java Fri May 15 14:49:31 2015
@@ -44,7 +44,7 @@ public class KrbErrorContainer extends A
     public KrbErrorContainer( ByteBuffer stream )
     {
         super( stream );
-        this.grammar = KrbErrorGrammar.getInstance();
+        setGrammar( KrbErrorGrammar.getInstance() );
         setTransition( KrbErrorStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbPriv/KrbPrivContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbPriv/KrbPrivContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbPriv/KrbPrivContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbPriv/KrbPrivContainer.java Fri May 15 14:49:31 2015
@@ -44,7 +44,7 @@ public class KrbPrivContainer extends Ab
     public KrbPrivContainer( ByteBuffer stream )
     {
         super( stream );
-        this.grammar = KrbPrivGrammar.getInstance();
+        setGrammar( KrbPrivGrammar.getInstance() );
         setTransition( KrbPrivStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbSafe/KrbSafeContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbSafe/KrbSafeContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbSafe/KrbSafeContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbSafe/KrbSafeContainer.java Fri May 15 14:49:31 2015
@@ -44,7 +44,7 @@ public class KrbSafeContainer extends Ab
     public KrbSafeContainer( ByteBuffer stream )
     {
         super( stream );
-        this.grammar = KrbSafeGrammar.getInstance();
+        setGrammar( KrbSafeGrammar.getInstance() );
         setTransition( KrbSafeStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbSafeBody/KrbSafeBodyContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbSafeBody/KrbSafeBodyContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbSafeBody/KrbSafeBodyContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbSafeBody/KrbSafeBodyContainer.java Fri May 15 14:49:31 2015
@@ -41,7 +41,7 @@ public class KrbSafeBodyContainer extend
     public KrbSafeBodyContainer()
     {
         super();
-        this.grammar = KrbSafeBodyGrammar.getInstance();
+        setGrammar( KrbSafeBodyGrammar.getInstance() );
         setTransition( KrbSafeBodyStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/lastReq/LastReqContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/lastReq/LastReqContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/lastReq/LastReqContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/lastReq/LastReqContainer.java Fri May 15 14:49:31 2015
@@ -41,7 +41,7 @@ public class LastReqContainer extends Ab
     public LastReqContainer()
     {
         super();
-        this.grammar = LastReqGrammar.getInstance();
+        setGrammar( LastReqGrammar.getInstance() );
         setTransition( LastReqStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/methodData/MethodDataContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/methodData/MethodDataContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/methodData/MethodDataContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/methodData/MethodDataContainer.java Fri May 15 14:49:31 2015
@@ -42,7 +42,7 @@ public class MethodDataContainer extends
     public MethodDataContainer()
     {
         super();
-        this.grammar = MethodDataGrammar.getInstance();
+        setGrammar( MethodDataGrammar.getInstance() );
         setTransition( MethodDataStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/options/ApOptions.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/options/ApOptions.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/options/ApOptions.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/options/ApOptions.java Fri May 15 14:49:31 2015
@@ -23,7 +23,6 @@ package org.apache.directory.shared.kerb
 /**
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-@SuppressWarnings("serial")
 public class ApOptions extends Options
 {
     /**

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/options/KdcOptions.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/options/KdcOptions.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/options/KdcOptions.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/options/KdcOptions.java Fri May 15 14:49:31 2015
@@ -24,7 +24,6 @@ package org.apache.directory.shared.kerb
  * The list of possible KDC options.
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-@SuppressWarnings("serial")
 public class KdcOptions extends Options
 {
     /**

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/options/Options.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/options/Options.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/options/Options.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/options/Options.java Fri May 15 14:49:31 2015
@@ -28,7 +28,6 @@ import org.apache.directory.shared.kerbe
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-@SuppressWarnings("serial")
 public abstract class Options extends AbstractKerberosFlags
 {
     /**

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/paEncTsEnc/PaEncTsEncContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/paEncTsEnc/PaEncTsEncContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/paEncTsEnc/PaEncTsEncContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/paEncTsEnc/PaEncTsEncContainer.java Fri May 15 14:49:31 2015
@@ -41,7 +41,7 @@ public class PaEncTsEncContainer extends
     public PaEncTsEncContainer()
     {
         super();
-        this.grammar = PaEncTsEncGrammar.getInstance();
+        setGrammar( PaEncTsEncGrammar.getInstance() );
         setTransition( PaEncTsEncStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/padata/PaDataContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/padata/PaDataContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/padata/PaDataContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/padata/PaDataContainer.java Fri May 15 14:49:31 2015
@@ -41,7 +41,7 @@ public class PaDataContainer extends Abs
     public PaDataContainer()
     {
         super();
-        this.grammar = PaDataGrammar.getInstance();
+        setGrammar( PaDataGrammar.getInstance() );
         setTransition( PaDataStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/principalName/PrincipalNameContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/principalName/PrincipalNameContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/principalName/PrincipalNameContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/principalName/PrincipalNameContainer.java Fri May 15 14:49:31 2015
@@ -41,7 +41,7 @@ public class PrincipalNameContainer exte
     public PrincipalNameContainer()
     {
         super();
-        this.grammar = PrincipalNameGrammar.getInstance();
+        setGrammar( PrincipalNameGrammar.getInstance() );
         setTransition( PrincipalNameStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/tgsRep/TgsRepContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/tgsRep/TgsRepContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/tgsRep/TgsRepContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/tgsRep/TgsRepContainer.java Fri May 15 14:49:31 2015
@@ -44,7 +44,7 @@ public class TgsRepContainer extends Kdc
     public TgsRepContainer( ByteBuffer stream )
     {
         super( stream );
-        this.grammar = TgsRepGrammar.getInstance();
+        setGrammar( TgsRepGrammar.getInstance() );
         setTransition( TgsRepStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/tgsReq/TgsReqContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/tgsReq/TgsReqContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/tgsReq/TgsReqContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/tgsReq/TgsReqContainer.java Fri May 15 14:49:31 2015
@@ -44,7 +44,7 @@ public class TgsReqContainer extends Kdc
     public TgsReqContainer( ByteBuffer stream )
     {
         super( stream );
-        this.grammar = TgsReqGrammar.getInstance();
+        setGrammar( TgsReqGrammar.getInstance() );
         setTransition( TgsReqStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/ticket/TicketContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/ticket/TicketContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/ticket/TicketContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/ticket/TicketContainer.java Fri May 15 14:49:31 2015
@@ -47,7 +47,7 @@ public class TicketContainer extends Abs
     public TicketContainer( ByteBuffer stream )
     {
         super( stream );
-        this.grammar = TicketGrammar.getInstance();
+        setGrammar( TicketGrammar.getInstance() );
         setTransition( TicketStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/transitedEncoding/TransitedEncodingContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/transitedEncoding/TransitedEncodingContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/transitedEncoding/TransitedEncodingContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/transitedEncoding/TransitedEncodingContainer.java Fri May 15 14:49:31 2015
@@ -41,7 +41,7 @@ public class TransitedEncodingContainer
     public TransitedEncodingContainer()
     {
         super();
-        this.grammar = TransitedEncodingGrammar.getInstance();
+        setGrammar( TransitedEncodingGrammar.getInstance() );
         setTransition( TransitedEncodingStatesEnum.START_STATE );
     }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/typedData/TypedDataContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/typedData/TypedDataContainer.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/typedData/TypedDataContainer.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/typedData/TypedDataContainer.java Fri May 15 14:49:31 2015
@@ -41,7 +41,7 @@ public class TypedDataContainer extends
     public TypedDataContainer()
     {
         super();
-        this.grammar = TypedDataGrammar.getInstance();
+        setGrammar( TypedDataGrammar.getInstance() );
         setTransition( TypedDataStatesEnum.START_STATE );
     }
 

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=1679576&r1=1679575&r2=1679576&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 May 15 14:49:31 2015
@@ -32,7 +32,6 @@ import org.apache.directory.api.asn1.uti
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-@SuppressWarnings("serial")
 public abstract class AbstractKerberosFlags extends BitString
 {
     /**

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/flags/TicketFlags.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/flags/TicketFlags.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/flags/TicketFlags.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/flags/TicketFlags.java Fri May 15 14:49:31 2015
@@ -28,9 +28,6 @@ package org.apache.directory.shared.kerb
  */
 public class TicketFlags extends AbstractKerberosFlags
 {
-    private static final long serialVersionUID = 1L;
-
-
     /**
       * Basic constructor of a TicketFlags BitString
       */

Modified: directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/server/kerberos/shared/keytab/KeytabTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/server/kerberos/shared/keytab/KeytabTest.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/server/kerberos/shared/keytab/KeytabTest.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/server/kerberos/shared/keytab/KeytabTest.java Fri May 15 14:49:31 2015
@@ -35,7 +35,6 @@ import java.util.Map;
 
 import javax.crypto.spec.DESKeySpec;
 
-import org.apache.directory.api.util.Strings;
 import org.apache.directory.server.kerberos.shared.crypto.encryption.KerberosKeyFactory;
 import org.apache.directory.shared.kerberos.KerberosTime;
 import org.apache.directory.shared.kerberos.KerberosUtils;

Modified: directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/server/kerberos/shared/messages/value/flags/AbstractKerberosFlagsTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/server/kerberos/shared/messages/value/flags/AbstractKerberosFlagsTest.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/server/kerberos/shared/messages/value/flags/AbstractKerberosFlagsTest.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/server/kerberos/shared/messages/value/flags/AbstractKerberosFlagsTest.java Fri May 15 14:49:31 2015
@@ -52,7 +52,6 @@ public class AbstractKerberosFlagsTest
                 + ( 1 << ( 31 - TicketFlag.PROXY.getValue() ) )
                 + ( 1 << ( 31 - TicketFlag.RENEWABLE.getValue() ) ) )
         {
-            private static final long serialVersionUID = 1L;
         };
 
         // unset flag 4
@@ -84,13 +83,11 @@ public class AbstractKerberosFlagsTest
                 + ( 1 << ( 31 - TicketFlag.PROXY.getValue() ) )
                 + ( 1 << ( 31 - TicketFlag.RENEWABLE.getValue() ) ) ) )
         {
-            private static final long serialVersionUID = 1L;
         };
 
         // No flags set
         AbstractKerberosFlags akfEmptyConstructor = new AbstractKerberosFlags()
         {
-            private static final long serialVersionUID = 1L;
         };
 
         assertEquals( "intValue", 0, akfEmptyConstructor.getIntValue() );
@@ -108,7 +105,6 @@ public class AbstractKerberosFlagsTest
     {
         AbstractKerberosFlags akf = new AbstractKerberosFlags()
         {
-            private static final long serialVersionUID = 1L;
         };
 
         // MAX_VALUE is not a real ticket flag and will cause an IndexOutOfBoundsException,

Modified: directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/shared/kerberos/codec/KdcReqBodyDecoderTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/shared/kerberos/codec/KdcReqBodyDecoderTest.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/shared/kerberos/codec/KdcReqBodyDecoderTest.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/shared/kerberos/codec/KdcReqBodyDecoderTest.java Fri May 15 14:49:31 2015
@@ -26,9 +26,6 @@ import static org.junit.Assert.fail;
 
 import java.nio.ByteBuffer;
 
-import com.mycila.junit.concurrent.Concurrency;
-import com.mycila.junit.concurrent.ConcurrentJunitRunner;
-
 import org.apache.directory.api.asn1.DecoderException;
 import org.apache.directory.api.asn1.EncoderException;
 import org.apache.directory.api.asn1.ber.Asn1Container;
@@ -49,6 +46,9 @@ import org.apache.directory.shared.kerbe
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+import com.mycila.junit.concurrent.Concurrency;
+import com.mycila.junit.concurrent.ConcurrentJunitRunner;
+
 
 /**
  * Test the decoder for a KdcReqBody
@@ -500,7 +500,7 @@ public class KdcReqBodyDecoderTest
                 0x02, 0x01, 0x12
         } );
 
-        String decodedPdu = Strings.dumpBytes( stream.array() );
+        Strings.dumpBytes( stream.array() );
         stream.flip();
 
         // Allocate a KdcReqBody Container

Modified: directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/shared/kerberos/codec/options/OptionsTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/shared/kerberos/codec/options/OptionsTest.java?rev=1679576&r1=1679575&r2=1679576&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/shared/kerberos/codec/options/OptionsTest.java (original)
+++ directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/shared/kerberos/codec/options/OptionsTest.java Fri May 15 14:49:31 2015
@@ -35,7 +35,6 @@ import org.junit.Test;
  */
 public class OptionsTest
 {
-    @SuppressWarnings("serial")
     private class MyOptions extends Options
     {
         private MyOptions()



Mime
View raw message