directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1235364 [2/27] - in /directory/shared/trunk: asn1/api/src/main/java/org/apache/directory/shared/asn1/util/ asn1/api/src/test/java/org/apache/directory/shared/asn1/util/ asn1/ber/src/main/java/org/apache/directory/shared/asn1/actions/ asn1/...
Date Tue, 24 Jan 2012 17:27:12 GMT
Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/AbstractResponseDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/AbstractResponseDsml.java?rev=1235364&r1=1235363&r2=1235364&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/AbstractResponseDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/AbstractResponseDsml.java Tue Jan 24 17:27:00 2012
@@ -30,7 +30,7 @@ import org.apache.directory.shared.ldap.
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public abstract class AbstractResponseDsml<E extends Response> 
+public abstract class AbstractResponseDsml<E extends Response>
     extends AbstractDsmlMessageDecorator<E> implements Response
 {
     /**

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/AbstractResultResponseDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/AbstractResultResponseDsml.java?rev=1235364&r1=1235363&r2=1235364&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/AbstractResultResponseDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/AbstractResultResponseDsml.java Tue Jan 24 17:27:00 2012
@@ -31,7 +31,7 @@ import org.dom4j.Element;
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public abstract class AbstractResultResponseDsml<E extends ResultResponse> 
+public abstract class AbstractResultResponseDsml<E extends ResultResponse>
     extends AbstractResponseDsml<E> implements ResultResponse
 {
     /**

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/AddResponseDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/AddResponseDsml.java?rev=1235364&r1=1235363&r2=1235364&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/AddResponseDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/AddResponseDsml.java Tue Jan 24 17:27:00 2012
@@ -33,7 +33,7 @@ import org.dom4j.tree.DefaultElement;
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class AddResponseDsml extends AbstractResultResponseDsml<AddResponse> 
+public class AddResponseDsml extends AbstractResultResponseDsml<AddResponse>
     implements AddResponse
 {
     private static final String ADD_RESPONSE_TAG = "addResponse";
@@ -75,17 +75,17 @@ public class AddResponseDsml extends Abs
     public Element toDsml( Element root )
     {
         Element element = null;
-        
+
         if ( root != null )
         {
             element = root.addElement( ADD_RESPONSE_TAG );
         }
         else
         {
-            element = new DefaultElement( ADD_RESPONSE_TAG );           
+            element = new DefaultElement( ADD_RESPONSE_TAG );
         }
 
-        LdapResultDsml ldapResultDsml = new LdapResultDsml( getCodecService(), 
+        LdapResultDsml ldapResultDsml = new LdapResultDsml( getCodecService(),
             getDecorated().getLdapResult(), getDecorated() );
         ldapResultDsml.toDsml( element );
         return element;

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/BatchResponseDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/BatchResponseDsml.java?rev=1235364&r1=1235363&r2=1235364&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/BatchResponseDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/BatchResponseDsml.java Tue Jan 24 17:27:00 2012
@@ -78,7 +78,7 @@ public class BatchResponseDsml
     {
         return responses.add( response );
     }
-    
+
 
     /**
      * Removes a request from the Batch Response DSML.
@@ -142,7 +142,7 @@ public class BatchResponseDsml
         element.add( ParserUtils.DSML_NAMESPACE );
         element.add( ParserUtils.XSD_NAMESPACE );
         element.add( ParserUtils.XSI_NAMESPACE );
-        
+
         // RequestID
         if ( requestID != 0 )
         {

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/BindResponseDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/BindResponseDsml.java?rev=1235364&r1=1235363&r2=1235364&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/BindResponseDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/BindResponseDsml.java Tue Jan 24 17:27:00 2012
@@ -61,7 +61,7 @@ public class BindResponseDsml extends Ab
     {
         Element element = root.addElement( "authResponse" );
 
-        LdapResultDsml ldapResultDsml = new LdapResultDsml( getCodecService(), 
+        LdapResultDsml ldapResultDsml = new LdapResultDsml( getCodecService(),
             getDecorated().getLdapResult(), getDecorated() );
         ldapResultDsml.toDsml( element );
         return element;

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/CompareResponseDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/CompareResponseDsml.java?rev=1235364&r1=1235363&r2=1235364&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/CompareResponseDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/CompareResponseDsml.java Tue Jan 24 17:27:00 2012
@@ -85,7 +85,7 @@ public class CompareResponseDsml extends
             element = new DefaultElement( COMPARE_RESPONSE_TAG );
         }
 
-        LdapResultDsml ldapResultDsml = new LdapResultDsml( getCodecService(), 
+        LdapResultDsml ldapResultDsml = new LdapResultDsml( getCodecService(),
             getDecorated().getLdapResult(), getDecorated() );
         ldapResultDsml.toDsml( element );
         return element;

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/DelResponseDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/DelResponseDsml.java?rev=1235364&r1=1235363&r2=1235364&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/DelResponseDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/DelResponseDsml.java Tue Jan 24 17:27:00 2012
@@ -85,9 +85,8 @@ public class DelResponseDsml extends Abs
         {
             element = new DefaultElement( DEL_RESPONSE_TAG );
         }
-        
 
-        LdapResultDsml ldapResultDsml = new LdapResultDsml( getCodecService(), 
+        LdapResultDsml ldapResultDsml = new LdapResultDsml( getCodecService(),
             getDecorated().getLdapResult(), getDecorated() );
         ldapResultDsml.toDsml( element );
         return element;

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/Dsmlv2ResponseGrammar.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/Dsmlv2ResponseGrammar.java?rev=1235364&r1=1235363&r2=1235364&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/Dsmlv2ResponseGrammar.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/Dsmlv2ResponseGrammar.java Tue Jan 24 17:27:00 2012
@@ -82,7 +82,7 @@ public final class Dsmlv2ResponseGrammar
 {
     /** The instance of grammar. Dsmlv2ResponseGrammar is a singleton */
     private static Dsmlv2ResponseGrammar instance = new Dsmlv2ResponseGrammar();
-    
+
     /** The DSMLv2 description tags */
     private static final Set<String> DSMLV2_DESCR_TAGS;
     static
@@ -185,7 +185,8 @@ public final class Dsmlv2ResponseGrammar
                 modDNResponseCreation ) );
 
         // State: [BATCH_RESPONSE_LOOP] - Tag: <extendedResponse>
-        super.transitions[Dsmlv2StatesEnum.BATCH_RESPONSE_LOOP.ordinal()].put( new Tag( "extendedResponse", Tag.START ),
+        super.transitions[Dsmlv2StatesEnum.BATCH_RESPONSE_LOOP.ordinal()].put(
+            new Tag( "extendedResponse", Tag.START ),
             new GrammarTransition( Dsmlv2StatesEnum.BATCH_RESPONSE_LOOP, Dsmlv2StatesEnum.EXTENDED_RESPONSE,
                 extendedResponseCreation ) );
 
@@ -212,28 +213,33 @@ public final class Dsmlv2ResponseGrammar
         super.transitions[Dsmlv2StatesEnum.DETAIL_END.ordinal()] = new HashMap<Tag, GrammarTransition>();
 
         // State: [ERROR_RESPONSE] - Tag: <message>
-        super.transitions[Dsmlv2StatesEnum.ERROR_RESPONSE.ordinal()].put( new Tag( "message", Tag.START ), new GrammarTransition(
-            Dsmlv2StatesEnum.ERROR_RESPONSE, Dsmlv2StatesEnum.MESSAGE_END, errorResponseAddMessage ) );
+        super.transitions[Dsmlv2StatesEnum.ERROR_RESPONSE.ordinal()].put( new Tag( "message", Tag.START ),
+            new GrammarTransition(
+                Dsmlv2StatesEnum.ERROR_RESPONSE, Dsmlv2StatesEnum.MESSAGE_END, errorResponseAddMessage ) );
 
         // State: [ERROR_RESPONSE] - Tag: <detail>
-        super.transitions[Dsmlv2StatesEnum.ERROR_RESPONSE.ordinal()].put( new Tag( "detail", Tag.START ), new GrammarTransition(
-            Dsmlv2StatesEnum.ERROR_RESPONSE, Dsmlv2StatesEnum.DETAIL_START, errorResponseAddDetail ) );
+        super.transitions[Dsmlv2StatesEnum.ERROR_RESPONSE.ordinal()].put( new Tag( "detail", Tag.START ),
+            new GrammarTransition(
+                Dsmlv2StatesEnum.ERROR_RESPONSE, Dsmlv2StatesEnum.DETAIL_START, errorResponseAddDetail ) );
 
         // State: [MESSAGE_END] - Tag: </errorResponse>
         super.transitions[Dsmlv2StatesEnum.MESSAGE_END.ordinal()].put( new Tag( "errorResponse", Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.MESSAGE_END, Dsmlv2StatesEnum.BATCH_RESPONSE_LOOP, null ) );
 
         // State: [MESSAGE_END] - Tag: <detail>
-        super.transitions[Dsmlv2StatesEnum.MESSAGE_END.ordinal()].put( new Tag( "detail", Tag.START ), new GrammarTransition(
-            Dsmlv2StatesEnum.MESSAGE_END, Dsmlv2StatesEnum.DETAIL_START, errorResponseAddDetail ) );
+        super.transitions[Dsmlv2StatesEnum.MESSAGE_END.ordinal()].put( new Tag( "detail", Tag.START ),
+            new GrammarTransition(
+                Dsmlv2StatesEnum.MESSAGE_END, Dsmlv2StatesEnum.DETAIL_START, errorResponseAddDetail ) );
 
         // State: [DETAIL_START] - Tag: </detail>
-        super.transitions[Dsmlv2StatesEnum.DETAIL_START.ordinal()].put( new Tag( "detail", Tag.END ), new GrammarTransition(
-            Dsmlv2StatesEnum.DETAIL_START, Dsmlv2StatesEnum.DETAIL_END, null ) );
+        super.transitions[Dsmlv2StatesEnum.DETAIL_START.ordinal()].put( new Tag( "detail", Tag.END ),
+            new GrammarTransition(
+                Dsmlv2StatesEnum.DETAIL_START, Dsmlv2StatesEnum.DETAIL_END, null ) );
 
         // State: [DETAIL_END] - Tag: <detail>
-        super.transitions[Dsmlv2StatesEnum.DETAIL_END.ordinal()].put( new Tag( "detail", Tag.END ), new GrammarTransition(
-            Dsmlv2StatesEnum.DETAIL_END, Dsmlv2StatesEnum.DETAIL_END, errorResponseAddDetail ) );
+        super.transitions[Dsmlv2StatesEnum.DETAIL_END.ordinal()].put( new Tag( "detail", Tag.END ),
+            new GrammarTransition(
+                Dsmlv2StatesEnum.DETAIL_END, Dsmlv2StatesEnum.DETAIL_END, errorResponseAddDetail ) );
 
         // State: [ERROR_RESPONSE] - Tag: </errorResponse>
         super.transitions[Dsmlv2StatesEnum.ERROR_RESPONSE.ordinal()].put( new Tag( "errorResponse", Tag.END ),
@@ -259,27 +265,32 @@ public final class Dsmlv2ResponseGrammar
                 Dsmlv2StatesEnum.EXTENDED_RESPONSE_CONTROL_START, ldapResultControlCreation ) );
 
         // State: [EXTENDED_RESPONSE_CONTROL_START] - Tag: <controlValue>
-        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_CONTROL_START.ordinal()].put( new Tag( "controlValue", Tag.START ),
+        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_CONTROL_START.ordinal()].put( new Tag( "controlValue",
+            Tag.START ),
             new GrammarTransition( Dsmlv2StatesEnum.EXTENDED_RESPONSE_CONTROL_START,
                 Dsmlv2StatesEnum.EXTENDED_RESPONSE_CONTROL_VALUE_END, ldapResultControlValueCreation ) );
 
         // State: [EXTENDED_RESPONSE_CONTROL_VALUE_END] - Tag: </control>
-        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_CONTROL_VALUE_END.ordinal()].put( new Tag( "control", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_CONTROL_VALUE_END.ordinal()].put( new Tag( "control",
+            Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.EXTENDED_RESPONSE_CONTROL_VALUE_END,
                 Dsmlv2StatesEnum.EXTENDED_RESPONSE_CONTROL_END, null ) );
 
         // State: [EXTENDED_RESPONSE_CONTROL_START] - Tag: </control>
-        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_CONTROL_START.ordinal()].put( new Tag( "control", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_CONTROL_START.ordinal()].put(
+            new Tag( "control", Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.EXTENDED_RESPONSE_CONTROL_START,
                 Dsmlv2StatesEnum.EXTENDED_RESPONSE_CONTROL_END, null ) );
 
         // State: [EXTENDED_RESPONSE_CONTROL_END] - Tag: <control>
-        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_CONTROL_END.ordinal()].put( new Tag( "control", Tag.START ),
+        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_CONTROL_END.ordinal()].put(
+            new Tag( "control", Tag.START ),
             new GrammarTransition( Dsmlv2StatesEnum.EXTENDED_RESPONSE_CONTROL_END,
                 Dsmlv2StatesEnum.EXTENDED_RESPONSE_CONTROL_START, ldapResultControlCreation ) );
 
         // State: [EXTENDED_RESPONSE_CONTROL_END] - Tag: <resultCode>
-        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_CONTROL_END.ordinal()].put( new Tag( "resultCode", Tag.START ),
+        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_CONTROL_END.ordinal()].put( new Tag( "resultCode",
+            Tag.START ),
             new GrammarTransition( Dsmlv2StatesEnum.EXTENDED_RESPONSE_CONTROL_END,
                 Dsmlv2StatesEnum.EXTENDED_RESPONSE_RESULT_CODE_START, extendedResponseAddResultCode ) );
 
@@ -289,7 +300,8 @@ public final class Dsmlv2ResponseGrammar
                 Dsmlv2StatesEnum.EXTENDED_RESPONSE_RESULT_CODE_START, extendedResponseAddResultCode ) );
 
         // State: [EXTENDED_RESPONSE_RESULT_CODE_START] - Tag: </resultCode>
-        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_RESULT_CODE_START.ordinal()].put( new Tag( "resultCode", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_RESULT_CODE_START.ordinal()].put( new Tag( "resultCode",
+            Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.EXTENDED_RESPONSE_RESULT_CODE_START,
                 Dsmlv2StatesEnum.EXTENDED_RESPONSE_RESULT_CODE_END, null ) );
 
@@ -300,7 +312,8 @@ public final class Dsmlv2ResponseGrammar
                 Dsmlv2StatesEnum.EXTENDED_RESPONSE_ERROR_MESSAGE_END, extendedResponseAddErrorMessage ) );
 
         // State: [EXTENDED_RESPONSE_RESULT_CODE_END] - Tag: <referral>
-        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_RESULT_CODE_END.ordinal()].put( new Tag( "referral", Tag.START ),
+        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_RESULT_CODE_END.ordinal()].put( new Tag( "referral",
+            Tag.START ),
             new GrammarTransition( Dsmlv2StatesEnum.EXTENDED_RESPONSE_RESULT_CODE_END,
                 Dsmlv2StatesEnum.EXTENDED_RESPONSE_REFERRAL_END, extendedResponseAddReferral ) );
 
@@ -311,7 +324,8 @@ public final class Dsmlv2ResponseGrammar
                 extendedResponseAddResponseName ) );
 
         // State: [EXTENDED_RESPONSE_RESULT_CODE_END] - Tag: <response>
-        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_RESULT_CODE_END.ordinal()].put( new Tag( "response", Tag.START ),
+        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_RESULT_CODE_END.ordinal()].put( new Tag( "response",
+            Tag.START ),
             new GrammarTransition( Dsmlv2StatesEnum.EXTENDED_RESPONSE_RESULT_CODE_END, Dsmlv2StatesEnum.RESPONSE_END,
                 extendedResponseAddResponse ) );
 
@@ -321,7 +335,8 @@ public final class Dsmlv2ResponseGrammar
                 Dsmlv2StatesEnum.EXTENDED_RESPONSE_RESULT_CODE_END, Dsmlv2StatesEnum.BATCH_RESPONSE_LOOP, null ) );
 
         // State: [EXTENDED_RESPONSE_ERROR_MESSAGE_END] - Tag: <referral>
-        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_ERROR_MESSAGE_END.ordinal()].put( new Tag( "referral", Tag.START ),
+        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_ERROR_MESSAGE_END.ordinal()].put( new Tag( "referral",
+            Tag.START ),
             new GrammarTransition( Dsmlv2StatesEnum.EXTENDED_RESPONSE_ERROR_MESSAGE_END,
                 Dsmlv2StatesEnum.EXTENDED_RESPONSE_REFERRAL_END, extendedResponseAddReferral ) );
 
@@ -332,32 +347,38 @@ public final class Dsmlv2ResponseGrammar
                 extendedResponseAddResponseName ) );
 
         // State: [EXTENDED_RESPONSE_ERROR_MESSAGE_END] - Tag: <response>
-        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_ERROR_MESSAGE_END.ordinal()].put( new Tag( "response", Tag.START ),
+        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_ERROR_MESSAGE_END.ordinal()].put( new Tag( "response",
+            Tag.START ),
             new GrammarTransition( Dsmlv2StatesEnum.EXTENDED_RESPONSE_ERROR_MESSAGE_END, Dsmlv2StatesEnum.RESPONSE_END,
                 extendedResponseAddResponse ) );
 
         // State: [EXTENDED_RESPONSE_ERROR_MESSAGE_END] - Tag: </extendedResponse>
-        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_ERROR_MESSAGE_END.ordinal()].put( new Tag( "extendedResponse",
+        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_ERROR_MESSAGE_END.ordinal()].put( new Tag(
+            "extendedResponse",
             Tag.END ), new GrammarTransition( Dsmlv2StatesEnum.EXTENDED_RESPONSE_ERROR_MESSAGE_END,
             Dsmlv2StatesEnum.BATCH_RESPONSE_LOOP, null ) );
 
         // State: [EXTENDED_RESPONSE_REFERRAL_END] - Tag: <referral>
-        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_REFERRAL_END.ordinal()].put( new Tag( "referral", Tag.START ),
+        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_REFERRAL_END.ordinal()].put( new Tag( "referral",
+            Tag.START ),
             new GrammarTransition( Dsmlv2StatesEnum.EXTENDED_RESPONSE_REFERRAL_END,
                 Dsmlv2StatesEnum.EXTENDED_RESPONSE_REFERRAL_END, extendedResponseAddReferral ) );
 
         // State: [EXTENDED_RESPONSE_REFERRAL_END] - Tag: <responseName>
-        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_REFERRAL_END.ordinal()].put( new Tag( "responseName", Tag.START ),
+        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_REFERRAL_END.ordinal()].put( new Tag( "responseName",
+            Tag.START ),
             new GrammarTransition( Dsmlv2StatesEnum.EXTENDED_RESPONSE_REFERRAL_END, Dsmlv2StatesEnum.RESPONSE_NAME_END,
                 extendedResponseAddResponseName ) );
 
         // State: [EXTENDED_RESPONSE_REFERRAL_END] - Tag: <reponse>
-        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_REFERRAL_END.ordinal()].put( new Tag( "reponse", Tag.START ),
+        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_REFERRAL_END.ordinal()].put(
+            new Tag( "reponse", Tag.START ),
             new GrammarTransition( Dsmlv2StatesEnum.EXTENDED_RESPONSE_REFERRAL_END, Dsmlv2StatesEnum.RESPONSE_END,
                 extendedResponseAddResponse ) );
 
         // State: [EXTENDED_RESPONSE_REFERRAL_END] - Tag: </extendedResponse>
-        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_REFERRAL_END.ordinal()].put( new Tag( "extendedResponse", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.EXTENDED_RESPONSE_REFERRAL_END.ordinal()].put( new Tag( "extendedResponse",
+            Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.EXTENDED_RESPONSE_REFERRAL_END,
                 Dsmlv2StatesEnum.BATCH_RESPONSE_LOOP, null ) );
 
@@ -388,15 +409,18 @@ public final class Dsmlv2ResponseGrammar
         super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_DONE_END.ordinal()] = new HashMap<Tag, GrammarTransition>();
 
         // State: [LDAP_RESULT] - Tag: <control>
-        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT.ordinal()].put( new Tag( "control", Tag.START ), new GrammarTransition(
-            Dsmlv2StatesEnum.LDAP_RESULT, Dsmlv2StatesEnum.LDAP_RESULT_CONTROL_START, ldapResultControlCreation ) );
+        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT.ordinal()].put( new Tag( "control", Tag.START ),
+            new GrammarTransition(
+                Dsmlv2StatesEnum.LDAP_RESULT, Dsmlv2StatesEnum.LDAP_RESULT_CONTROL_START, ldapResultControlCreation ) );
 
         // State: [LDAP_RESULT] - Tag: <resultCode>
-        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT.ordinal()].put( new Tag( "resultCode", Tag.START ), new GrammarTransition(
-            Dsmlv2StatesEnum.LDAP_RESULT, Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_START, ldapResultAddResultCode ) );
+        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT.ordinal()]
+            .put( new Tag( "resultCode", Tag.START ), new GrammarTransition(
+                Dsmlv2StatesEnum.LDAP_RESULT, Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_START, ldapResultAddResultCode ) );
 
         // State: [LDAP_RESULT_CONTROL_START] - Tag: <controlValue>
-        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_CONTROL_START.ordinal()].put( new Tag( "controlValue", Tag.START ),
+        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_CONTROL_START.ordinal()].put(
+            new Tag( "controlValue", Tag.START ),
             new GrammarTransition( Dsmlv2StatesEnum.LDAP_RESULT_CONTROL_START,
                 Dsmlv2StatesEnum.LDAP_RESULT_CONTROL_VALUE_END, ldapResultControlValueCreation ) );
 
@@ -421,52 +445,62 @@ public final class Dsmlv2ResponseGrammar
                 Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_START, ldapResultAddResultCode ) );
 
         // State: [LDAP_RESULT_RESULT_CODE_START] - Tag: </resultCode>
-        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_START.ordinal()].put( new Tag( "resultCode", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_START.ordinal()].put(
+            new Tag( "resultCode", Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_START,
                 Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END, null ) );
 
         // State: [LDAP_RESULT_RESULT_CODE_END] - Tag: <errorMessage>
-        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END.ordinal()].put( new Tag( "errorMessage", Tag.START ),
+        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END.ordinal()].put( new Tag( "errorMessage",
+            Tag.START ),
             new GrammarTransition( Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END,
                 Dsmlv2StatesEnum.LDAP_RESULT_ERROR_MESSAGE_END, ldapResultAddErrorMessage ) );
 
         // State: [LDAP_RESULT_RESULT_CODE_END] - Tag: <referral>
-        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END.ordinal()].put( new Tag( "referral", Tag.START ),
+        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END.ordinal()].put(
+            new Tag( "referral", Tag.START ),
             new GrammarTransition( Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END,
                 Dsmlv2StatesEnum.LDAP_RESULT_REFERRAL_END, ldapResultAddReferral ) );
 
         // State: [LDAP_RESULT_RESULT_CODE_END] - Tag: </addResponse>
-        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END.ordinal()].put( new Tag( "addResponse", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END.ordinal()].put(
+            new Tag( "addResponse", Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END, Dsmlv2StatesEnum.BATCH_RESPONSE_LOOP,
                 null ) );
 
         // State: [LDAP_RESULT_RESULT_CODE_END] - Tag: </authResponse>
-        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END.ordinal()].put( new Tag( "authResponse", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END.ordinal()].put(
+            new Tag( "authResponse", Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END, Dsmlv2StatesEnum.BATCH_RESPONSE_LOOP,
                 null ) );
 
         // State: [LDAP_RESULT_RESULT_CODE_END] - Tag: </compareResponse>
-        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END.ordinal()].put( new Tag( "compareResponse", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END.ordinal()].put( new Tag( "compareResponse",
+            Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END, Dsmlv2StatesEnum.BATCH_RESPONSE_LOOP,
                 null ) );
 
         // State: [LDAP_RESULT_RESULT_CODE_END] - Tag: </delResponse>
-        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END.ordinal()].put( new Tag( "delResponse", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END.ordinal()].put(
+            new Tag( "delResponse", Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END, Dsmlv2StatesEnum.BATCH_RESPONSE_LOOP,
                 null ) );
 
         // State: [LDAP_RESULT_RESULT_CODE_END] - Tag: </modifyResponse>
-        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END.ordinal()].put( new Tag( "modifyResponse", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END.ordinal()].put( new Tag( "modifyResponse",
+            Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END, Dsmlv2StatesEnum.BATCH_RESPONSE_LOOP,
                 null ) );
 
         // State: [LDAP_RESULT_RESULT_CODE_END] - Tag: </modDNResponse>
-        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END.ordinal()].put( new Tag( "modDNResponse", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END.ordinal()].put( new Tag( "modDNResponse",
+            Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END, Dsmlv2StatesEnum.BATCH_RESPONSE_LOOP,
                 null ) );
 
         // State: [LDAP_RESULT_RESULT_CODE_END] - Tag: </searchResultDone>
-        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END.ordinal()].put( new Tag( "searchResultDone", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END.ordinal()].put( new Tag( "searchResultDone",
+            Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.LDAP_RESULT_RESULT_CODE_END,
                 Dsmlv2StatesEnum.SEARCH_RESULT_DONE_END, null ) );
 
@@ -476,42 +510,50 @@ public final class Dsmlv2ResponseGrammar
                 Dsmlv2StatesEnum.BATCH_RESPONSE_LOOP, null ) );
 
         // State: [LDAP_RESULT_ERROR_MESSAGE_END] - Tag: <referral>
-        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_ERROR_MESSAGE_END.ordinal()].put( new Tag( "referral", Tag.START ),
+        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_ERROR_MESSAGE_END.ordinal()].put(
+            new Tag( "referral", Tag.START ),
             new GrammarTransition( Dsmlv2StatesEnum.LDAP_RESULT_ERROR_MESSAGE_END,
                 Dsmlv2StatesEnum.LDAP_RESULT_REFERRAL_END, ldapResultAddReferral ) );
 
         // State: [LDAP_RESULT_ERROR_MESSAGE_END] - Tag: </addResponse>
-        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_ERROR_MESSAGE_END.ordinal()].put( new Tag( "addResponse", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_ERROR_MESSAGE_END.ordinal()].put( new Tag( "addResponse",
+            Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.LDAP_RESULT_ERROR_MESSAGE_END,
                 Dsmlv2StatesEnum.BATCH_RESPONSE_LOOP, null ) );
 
         // State: [LDAP_RESULT_ERROR_MESSAGE_END] - Tag: </authResponse>
-        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_ERROR_MESSAGE_END.ordinal()].put( new Tag( "authResponse", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_ERROR_MESSAGE_END.ordinal()].put( new Tag( "authResponse",
+            Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.LDAP_RESULT_ERROR_MESSAGE_END,
                 Dsmlv2StatesEnum.BATCH_RESPONSE_LOOP, null ) );
 
         // State: [LDAP_RESULT_ERROR_MESSAGE_END] - Tag: </compareResponse>
-        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_ERROR_MESSAGE_END.ordinal()].put( new Tag( "compareResponse", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_ERROR_MESSAGE_END.ordinal()].put( new Tag( "compareResponse",
+            Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.LDAP_RESULT_ERROR_MESSAGE_END,
                 Dsmlv2StatesEnum.BATCH_RESPONSE_LOOP, null ) );
 
         // State: [LDAP_RESULT_ERROR_MESSAGE_END] - Tag: </delResponse>
-        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_ERROR_MESSAGE_END.ordinal()].put( new Tag( "delResponse", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_ERROR_MESSAGE_END.ordinal()].put( new Tag( "delResponse",
+            Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.LDAP_RESULT_ERROR_MESSAGE_END,
                 Dsmlv2StatesEnum.BATCH_RESPONSE_LOOP, null ) );
 
         // State: [LDAP_RESULT_ERROR_MESSAGE_END] - Tag: </modifyResponse>
-        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_ERROR_MESSAGE_END.ordinal()].put( new Tag( "modifyResponse", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_ERROR_MESSAGE_END.ordinal()].put( new Tag( "modifyResponse",
+            Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.LDAP_RESULT_ERROR_MESSAGE_END,
                 Dsmlv2StatesEnum.BATCH_RESPONSE_LOOP, null ) );
 
         // State: [LDAP_RESULT_ERROR_MESSAGE_END] - Tag: </modDNResponse>
-        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_ERROR_MESSAGE_END.ordinal()].put( new Tag( "modDNResponse", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_ERROR_MESSAGE_END.ordinal()].put( new Tag( "modDNResponse",
+            Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.LDAP_RESULT_ERROR_MESSAGE_END,
                 Dsmlv2StatesEnum.BATCH_RESPONSE_LOOP, null ) );
 
         // State: [LDAP_RESULT_ERROR_MESSAGE_END] - Tag: </searchResultDone>
-        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_ERROR_MESSAGE_END.ordinal()].put( new Tag( "searchResultDone", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_ERROR_MESSAGE_END.ordinal()].put( new Tag( "searchResultDone",
+            Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.LDAP_RESULT_ERROR_MESSAGE_END,
                 Dsmlv2StatesEnum.SEARCH_RESULT_DONE_END, null ) );
 
@@ -531,7 +573,8 @@ public final class Dsmlv2ResponseGrammar
                 null ) );
 
         // State: [LDAP_RESULT_REFERRAL_END] - Tag: </compareResponse>
-        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_REFERRAL_END.ordinal()].put( new Tag( "compareResponse", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_REFERRAL_END.ordinal()].put(
+            new Tag( "compareResponse", Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.LDAP_RESULT_REFERRAL_END, Dsmlv2StatesEnum.BATCH_RESPONSE_LOOP,
                 null ) );
 
@@ -541,17 +584,20 @@ public final class Dsmlv2ResponseGrammar
                 null ) );
 
         // State: [LDAP_RESULT_REFERRAL_END] - Tag: </modifyResponse>
-        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_REFERRAL_END.ordinal()].put( new Tag( "modifyResponse", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_REFERRAL_END.ordinal()].put(
+            new Tag( "modifyResponse", Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.LDAP_RESULT_REFERRAL_END, Dsmlv2StatesEnum.BATCH_RESPONSE_LOOP,
                 null ) );
 
         // State: [LDAP_RESULT_REFERRAL_END] - Tag: </modDNResponse>
-        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_REFERRAL_END.ordinal()].put( new Tag( "modDNResponse", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_REFERRAL_END.ordinal()].put(
+            new Tag( "modDNResponse", Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.LDAP_RESULT_REFERRAL_END, Dsmlv2StatesEnum.BATCH_RESPONSE_LOOP,
                 null ) );
 
         // State: [LDAP_RESULT_REFERRAL_END] - Tag: </searchResultDone>
-        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_REFERRAL_END.ordinal()].put( new Tag( "searchResultDone", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.LDAP_RESULT_REFERRAL_END.ordinal()].put( new Tag( "searchResultDone",
+            Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.LDAP_RESULT_REFERRAL_END, Dsmlv2StatesEnum.SEARCH_RESULT_DONE_END,
                 null ) );
 
@@ -566,7 +612,8 @@ public final class Dsmlv2ResponseGrammar
                 searchResultEntryCreation ) );
 
         // State: [SEARCH_REPONSE] - Tag: <searchResultReference>
-        super.transitions[Dsmlv2StatesEnum.SEARCH_RESPONSE.ordinal()].put( new Tag( "searchResultReference", Tag.START ),
+        super.transitions[Dsmlv2StatesEnum.SEARCH_RESPONSE.ordinal()].put(
+            new Tag( "searchResultReference", Tag.START ),
             new GrammarTransition( Dsmlv2StatesEnum.SEARCH_RESPONSE, Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE,
                 searchResultReferenceCreation ) );
 
@@ -608,17 +655,20 @@ public final class Dsmlv2ResponseGrammar
                 Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_CONTROL_VALUE_END, searchResultEntryControlValueCreation ) );
 
         // State: [SEARCH_RESULT_ENTRY_CONTROL_VALUE_END] - Tag: </control>
-        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_CONTROL_VALUE_END.ordinal()].put( new Tag( "control", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_CONTROL_VALUE_END.ordinal()].put( new Tag( "control",
+            Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_CONTROL_VALUE_END,
                 Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_CONTROL_END, null ) );
 
         // State: [SEARCH_RESULT_ENTRY_CONTROL_START] - Tag: </control>
-        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_CONTROL_START.ordinal()].put( new Tag( "control", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_CONTROL_START.ordinal()].put( new Tag( "control",
+            Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_CONTROL_START,
                 Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_CONTROL_END, null ) );
 
         // State: [SEARCH_RESULT_ENTRY_CONTROL_END] - Tag: <control>
-        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_CONTROL_END.ordinal()].put( new Tag( "control", Tag.START ),
+        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_CONTROL_END.ordinal()].put( new Tag( "control",
+            Tag.START ),
             new GrammarTransition( Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_CONTROL_END,
                 Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_CONTROL_START, searchResultEntryControlCreation ) );
 
@@ -628,7 +678,8 @@ public final class Dsmlv2ResponseGrammar
                 Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_CONTROL_END, Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_LOOP, null ) );
 
         // State: [SEARCH_RESULT_ENTRY_CONTROL_END] - Tag: <attr>
-        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_CONTROL_END.ordinal()].put( new Tag( "attr", Tag.START ),
+        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_CONTROL_END.ordinal()].put(
+            new Tag( "attr", Tag.START ),
             new GrammarTransition( Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_CONTROL_END,
                 Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_ATTR_START, null ) );
 
@@ -638,7 +689,8 @@ public final class Dsmlv2ResponseGrammar
                 Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_ATTR_END, null ) );
 
         // State: [SEARCH_RESULT_ENTRY_ATTR_START] - Tag: <value>
-        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_ATTR_START.ordinal()].put( new Tag( "value", Tag.START ),
+        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_ATTR_START.ordinal()].put(
+            new Tag( "value", Tag.START ),
             new GrammarTransition( Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_ATTR_START,
                 Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_VALUE_END, searchResultEntryAddValue ) );
 
@@ -648,7 +700,8 @@ public final class Dsmlv2ResponseGrammar
                 Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_ATTR_START, searchResultEntryAddAttr ) );
 
         // State: [SEARCH_RESULT_ENTRY_ATTR_END] - Tag: </searchResultEntry>
-        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_ATTR_END.ordinal()].put( new Tag( "searchResultEntry", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_ATTR_END.ordinal()].put( new Tag( "searchResultEntry",
+            Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_ATTR_END,
                 Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_LOOP, null ) );
 
@@ -668,7 +721,8 @@ public final class Dsmlv2ResponseGrammar
         super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_LOOP.ordinal()] = new HashMap<Tag, GrammarTransition>();
 
         // State: [SEARCH_RESULT_ENTRY_LOOP] - Tag: <searchResultEntry>
-        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_LOOP.ordinal()].put( new Tag( "searchResultEntry", Tag.START ),
+        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_LOOP.ordinal()].put( new Tag( "searchResultEntry",
+            Tag.START ),
             new GrammarTransition( Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_LOOP, Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY,
                 searchResultEntryCreation ) );
 
@@ -679,7 +733,8 @@ public final class Dsmlv2ResponseGrammar
                 searchResultReferenceCreation ) );
 
         // State: [SEARCH_RESULT_ENTRY_LOOP] - Tag: <searchResultDone>
-        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_LOOP.ordinal()].put( new Tag( "searchResultDone", Tag.START ),
+        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_LOOP.ordinal()].put( new Tag( "searchResultDone",
+            Tag.START ),
             new GrammarTransition( Dsmlv2StatesEnum.SEARCH_RESULT_ENTRY_LOOP, Dsmlv2StatesEnum.LDAP_RESULT,
                 searchResultDoneCreation ) );
 
@@ -703,7 +758,8 @@ public final class Dsmlv2ResponseGrammar
                 Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_REF_END, searchResultReferenceAddRef ) );
 
         // State: [SEARCH_RESULT_REFERENCE_CONTROL_START] - Tag: <controlValue>
-        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_CONTROL_START.ordinal()].put( new Tag( "controlValue",
+        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_CONTROL_START.ordinal()].put( new Tag(
+            "controlValue",
             Tag.START ), new GrammarTransition( Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_CONTROL_START,
             Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_CONTROL_VALUE_END, searchResultReferenceControlValueCreation ) );
 
@@ -714,17 +770,20 @@ public final class Dsmlv2ResponseGrammar
                 Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_CONTROL_END, null ) );
 
         // State: [SEARCH_RESULT_REFERENCE_CONTROL_START] - Tag: </control>
-        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_CONTROL_START.ordinal()].put( new Tag( "control", Tag.END ),
+        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_CONTROL_START.ordinal()].put( new Tag( "control",
+            Tag.END ),
             new GrammarTransition( Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_CONTROL_START,
                 Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_CONTROL_END, null ) );
 
         // State: [SEARCH_RESULT_REFERENCE_CONTROL_END] - Tag: <control>
-        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_CONTROL_END.ordinal()].put( new Tag( "control", Tag.START ),
+        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_CONTROL_END.ordinal()].put( new Tag( "control",
+            Tag.START ),
             new GrammarTransition( Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_CONTROL_END,
                 Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_CONTROL_START, searchResultReferenceControlCreation ) );
 
         // State: [SEARCH_RESULT_REFERENCE_CONTROL_END] - Tag: <ref>
-        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_CONTROL_END.ordinal()].put( new Tag( "ref", Tag.START ),
+        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_CONTROL_END.ordinal()].put( new Tag( "ref",
+            Tag.START ),
             new GrammarTransition( Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_CONTROL_END,
                 Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_REF_END, searchResultReferenceAddRef ) );
 
@@ -734,7 +793,8 @@ public final class Dsmlv2ResponseGrammar
                 Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_REF_END, searchResultReferenceAddRef ) );
 
         // State: [SEARCH_RESULT_REFERENCE_REF_END] - Tag: </searchResultReference>
-        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_REF_END.ordinal()].put( new Tag( "searchResultReference",
+        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_REF_END.ordinal()].put( new Tag(
+            "searchResultReference",
             Tag.END ), new GrammarTransition( Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_REF_END,
             Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_LOOP, null ) );
 
@@ -744,12 +804,14 @@ public final class Dsmlv2ResponseGrammar
         super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_LOOP.ordinal()] = new HashMap<Tag, GrammarTransition>();
 
         // State: [SEARCH_RESULT_REFERENCE_LOOP] - Tag: <searchResultReference>
-        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_LOOP.ordinal()].put( new Tag( "searchResultReference",
+        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_LOOP.ordinal()].put( new Tag(
+            "searchResultReference",
             Tag.START ), new GrammarTransition( Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_LOOP,
             Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE, searchResultReferenceCreation ) );
 
         // State: [SEARCH_RESULT_REFERENCE_LOOP] - Tag: <searchResultDone>
-        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_LOOP.ordinal()].put( new Tag( "searchResultDone", Tag.START ),
+        super.transitions[Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_LOOP.ordinal()].put( new Tag( "searchResultDone",
+            Tag.START ),
             new GrammarTransition( Dsmlv2StatesEnum.SEARCH_RESULT_REFERENCE_LOOP, Dsmlv2StatesEnum.LDAP_RESULT,
                 searchResultDoneCreation ) );
     }
@@ -786,7 +848,7 @@ public final class Dsmlv2ResponseGrammar
     {
         public void action( Dsmlv2Container container ) throws XmlPullParserException
         {
-            AddResponseDsml addResponse = new AddResponseDsml( 
+            AddResponseDsml addResponse = new AddResponseDsml(
                 container.getLdapCodecService(), new AddResponseImpl() );
             container.getBatchResponse().addResponse( addResponse );
 
@@ -828,7 +890,7 @@ public final class Dsmlv2ResponseGrammar
     {
         public void action( Dsmlv2Container container ) throws XmlPullParserException
         {
-            BindResponseDsml bindResponse = new BindResponseDsml( 
+            BindResponseDsml bindResponse = new BindResponseDsml(
                 container.getLdapCodecService(), new BindResponseImpl() );
             container.getBatchResponse().addResponse( bindResponse );
 
@@ -871,7 +933,7 @@ public final class Dsmlv2ResponseGrammar
     {
         public void action( Dsmlv2Container container ) throws XmlPullParserException
         {
-            CompareResponseDsml compareResponse = new CompareResponseDsml( 
+            CompareResponseDsml compareResponse = new CompareResponseDsml(
                 container.getLdapCodecService(), new CompareResponseImpl() );
             container.getBatchResponse().addResponse( compareResponse );
 
@@ -913,7 +975,7 @@ public final class Dsmlv2ResponseGrammar
     {
         public void action( Dsmlv2Container container ) throws XmlPullParserException
         {
-            DelResponseDsml delResponse = new DelResponseDsml( 
+            DelResponseDsml delResponse = new DelResponseDsml(
                 container.getLdapCodecService(), new DeleteResponseImpl() );
             container.getBatchResponse().addResponse( delResponse );
 
@@ -955,7 +1017,7 @@ public final class Dsmlv2ResponseGrammar
     {
         public void action( Dsmlv2Container container ) throws XmlPullParserException
         {
-            ModifyResponseDsml modifyResponse = new ModifyResponseDsml( 
+            ModifyResponseDsml modifyResponse = new ModifyResponseDsml(
                 container.getLdapCodecService(), new ModifyResponseImpl() );
             container.getBatchResponse().addResponse( modifyResponse );
 
@@ -997,7 +1059,7 @@ public final class Dsmlv2ResponseGrammar
     {
         public void action( Dsmlv2Container container ) throws XmlPullParserException
         {
-            ModDNResponseDsml modDNResponse = new ModDNResponseDsml( 
+            ModDNResponseDsml modDNResponse = new ModDNResponseDsml(
                 container.getLdapCodecService(), new ModifyDnResponseImpl() );
             container.getBatchResponse().addResponse( modDNResponse );
 
@@ -1051,13 +1113,13 @@ public final class Dsmlv2ResponseGrammar
 
             if ( attributeValue != null )
             {
-                extendedResponse = new ExtendedResponseDsml( 
-                    container.getLdapCodecService(), new ExtendedResponseImpl( 
+                extendedResponse = new ExtendedResponseDsml(
+                    container.getLdapCodecService(), new ExtendedResponseImpl(
                         ParserUtils.parseAndVerifyRequestID( attributeValue, xpp ) ) );
             }
             else
             {
-                extendedResponse = new ExtendedResponseDsml( 
+                extendedResponse = new ExtendedResponseDsml(
                     container.getLdapCodecService(), new ExtendedResponseImpl( -1 ) );
             }
 
@@ -1189,7 +1251,7 @@ public final class Dsmlv2ResponseGrammar
      * @param parent the parent 
      * @throws XmlPullParserException
      */
-    private void createAndAddControl( Dsmlv2Container container, 
+    private void createAndAddControl( Dsmlv2Container container,
         AbstractDsmlMessageDecorator<? extends Message> parent ) throws XmlPullParserException
     {
         CodecControl<? extends Control> control = null;
@@ -1203,7 +1265,7 @@ public final class Dsmlv2ResponseGrammar
 
         if ( attributeValue != null )
         {
-            if ( !Oid.isOid(attributeValue) )
+            if ( !Oid.isOid( attributeValue ) )
             {
                 throw new XmlPullParserException( I18n.err( I18n.ERR_03006 ), xpp, null );
             }
@@ -1243,12 +1305,12 @@ public final class Dsmlv2ResponseGrammar
         public void action( Dsmlv2Container container ) throws XmlPullParserException
         {
             AbstractDsmlMessageDecorator<? extends Message> message =
-                ( AbstractDsmlMessageDecorator<? extends Message> ) 
+                ( AbstractDsmlMessageDecorator<? extends Message> )
                 container.getBatchResponse().getCurrentResponse();
-            
+
             if ( message instanceof SearchResponseDsml )
             {
-                createAndAddControl( container, 
+                createAndAddControl( container,
                     ( ( SearchResponse ) ( ( SearchResponseDsml ) message ).getDecorated() ).getSearchResultDone() );
             }
             else
@@ -1267,9 +1329,9 @@ public final class Dsmlv2ResponseGrammar
         public void action( Dsmlv2Container container ) throws XmlPullParserException
         {
             SearchResponse response = ( SearchResponse )
-            ( ( SearchResponseDsml ) container.getBatchResponse()
-                .getCurrentResponse() ).getDecorated();
-        
+                ( ( SearchResponseDsml ) container.getBatchResponse()
+                    .getCurrentResponse() ).getDecorated();
+
             createAndAddControl( container, response.getCurrentSearchResultEntry() );
         }
     };
@@ -1285,7 +1347,7 @@ public final class Dsmlv2ResponseGrammar
             SearchResponse response = ( SearchResponse )
                 ( ( SearchResponseDsml ) container.getBatchResponse()
                     .getCurrentResponse() ).getDecorated();
-            
+
             createAndAddControl( container, response.getCurrentSearchResultReference() );
         }
     };
@@ -1297,11 +1359,11 @@ public final class Dsmlv2ResponseGrammar
      * @param parent the parent 
      * @throws XmlPullParserException
      */
-    private void createAndAddControlValue( Dsmlv2Container container, 
-        AbstractDsmlMessageDecorator<? extends Message> parent ) 
+    private void createAndAddControlValue( Dsmlv2Container container,
+        AbstractDsmlMessageDecorator<? extends Message> parent )
         throws XmlPullParserException
     {
-        DsmlControl<? extends Control> control = 
+        DsmlControl<? extends Control> control =
             ( ( AbstractDsmlMessageDecorator<?> ) parent ).getCurrentControl();
 
         XmlPullParser xpp = container.getParser();
@@ -1317,7 +1379,7 @@ public final class Dsmlv2ResponseGrammar
             {
                 if ( ParserUtils.isBase64BinaryValue( xpp, typeValue ) )
                 {
-                    control.setValue( Base64.decode(nextText.trim().toCharArray()) );
+                    control.setValue( Base64.decode( nextText.trim().toCharArray() ) );
                 }
                 else
                 {
@@ -1340,14 +1402,14 @@ public final class Dsmlv2ResponseGrammar
         public void action( Dsmlv2Container container ) throws XmlPullParserException
         {
             AbstractDsmlMessageDecorator<? extends Response> response
-                = ( AbstractDsmlMessageDecorator<? extends Response> )
+            = ( AbstractDsmlMessageDecorator<? extends Response> )
                 container.getBatchResponse().getCurrentResponse();
-            
+
             if ( response instanceof SearchResponseDsml )
             {
-                SearchResponse searchResponse = ( SearchResponse ) 
+                SearchResponse searchResponse = ( SearchResponse )
                     response.getDecorated();
-                createAndAddControlValue( container, 
+                createAndAddControlValue( container,
                     searchResponse.getSearchResultDone() );
             }
             else
@@ -1365,9 +1427,9 @@ public final class Dsmlv2ResponseGrammar
     {
         public void action( Dsmlv2Container container ) throws XmlPullParserException
         {
-            SearchResponse response = ( SearchResponse ) 
+            SearchResponse response = ( SearchResponse )
                 container.getBatchResponse().getCurrentResponse().getDecorated();
-            createAndAddControlValue( container, 
+            createAndAddControlValue( container,
                 response.getCurrentSearchResultEntry() );
         }
     };
@@ -1380,9 +1442,9 @@ public final class Dsmlv2ResponseGrammar
     {
         public void action( Dsmlv2Container container ) throws XmlPullParserException
         {
-            SearchResponseDsml response = ( SearchResponseDsml ) 
+            SearchResponseDsml response = ( SearchResponseDsml )
                 container.getBatchResponse().getCurrentResponse();
-            createAndAddControlValue( container, 
+            createAndAddControlValue( container,
                 ( ( SearchResponse ) response.getDecorated() ).getCurrentSearchResultReference() );
         }
     };
@@ -1394,7 +1456,7 @@ public final class Dsmlv2ResponseGrammar
     {
         public void action( Dsmlv2Container container ) throws XmlPullParserException
         {
-            DsmlDecorator<? extends Response> ldapResponse = 
+            DsmlDecorator<? extends Response> ldapResponse =
                 container.getBatchResponse().getCurrentResponse();
 
             LdapResult ldapResult = null;
@@ -1422,7 +1484,7 @@ public final class Dsmlv2ResponseGrammar
             {
                 try
                 {
-                    ldapResult.setResultCode( ResultCodeEnum.getResultCode(Integer.parseInt(attributeValue)) );
+                    ldapResult.setResultCode( ResultCodeEnum.getResultCode( Integer.parseInt( attributeValue ) ) );
                 }
                 catch ( NumberFormatException e )
                 {
@@ -1451,7 +1513,7 @@ public final class Dsmlv2ResponseGrammar
     {
         public void action( Dsmlv2Container container ) throws XmlPullParserException
         {
-            DsmlDecorator<? extends Response> ldapResponse = 
+            DsmlDecorator<? extends Response> ldapResponse =
                 container.getBatchResponse().getCurrentResponse();
 
             LdapResult ldapResult = null;
@@ -1493,7 +1555,7 @@ public final class Dsmlv2ResponseGrammar
     {
         public void action( Dsmlv2Container container ) throws XmlPullParserException
         {
-            DsmlDecorator<? extends Response> ldapResponse = 
+            DsmlDecorator<? extends Response> ldapResponse =
                 container.getBatchResponse().getCurrentResponse();
 
             LdapResult ldapResult = null;
@@ -1558,7 +1620,7 @@ public final class Dsmlv2ResponseGrammar
 
             if ( attributeValue != null )
             {
-                searchResponse = new SearchResponse( 
+                searchResponse = new SearchResponse(
                     ParserUtils.parseAndVerifyRequestID( attributeValue, xpp ), null );
             }
             else
@@ -1566,7 +1628,7 @@ public final class Dsmlv2ResponseGrammar
                 searchResponse = new SearchResponse( -1, null );
             }
 
-            container.getBatchResponse().addResponse( new SearchResponseDsml( 
+            container.getBatchResponse().addResponse( new SearchResponseDsml(
                 container.getLdapCodecService(), searchResponse ) );
         }
     };
@@ -1579,13 +1641,13 @@ public final class Dsmlv2ResponseGrammar
     {
         public void action( Dsmlv2Container container ) throws XmlPullParserException
         {
-            SearchResultEntryDsml searchResultEntry = 
-                new SearchResultEntryDsml( container.getLdapCodecService(), 
+            SearchResultEntryDsml searchResultEntry =
+                new SearchResultEntryDsml( container.getLdapCodecService(),
                     new SearchResultEntryImpl() );
-            SearchResponseDsml searchResponse = ( SearchResponseDsml ) 
+            SearchResponseDsml searchResponse = ( SearchResponseDsml )
                 container.getBatchResponse().getCurrentResponse();
             searchResponse.addResponse( searchResultEntry );
-            
+
             XmlPullParser xpp = container.getParser();
 
             // Checking and adding the request's attributes
@@ -1627,14 +1689,14 @@ public final class Dsmlv2ResponseGrammar
     {
         public void action( Dsmlv2Container container ) throws XmlPullParserException
         {
-            SearchResultReferenceDsml searchResultReference = 
-                new SearchResultReferenceDsml( 
-                    container.getLdapCodecService(), 
+            SearchResultReferenceDsml searchResultReference =
+                new SearchResultReferenceDsml(
+                    container.getLdapCodecService(),
                     new SearchResultReferenceImpl() );
 
-            SearchResponseDsml searchResponseDsml = ( SearchResponseDsml ) 
+            SearchResponseDsml searchResponseDsml = ( SearchResponseDsml )
                 container.getBatchResponse().getCurrentResponse();
-            
+
             searchResponseDsml.addResponse( searchResultReference );
 
             XmlPullParser xpp = container.getParser();
@@ -1659,14 +1721,14 @@ public final class Dsmlv2ResponseGrammar
     {
         public void action( Dsmlv2Container container ) throws XmlPullParserException
         {
-            SearchResultDoneDsml searchResultDone = 
-                new SearchResultDoneDsml( container.getLdapCodecService(), 
+            SearchResultDoneDsml searchResultDone =
+                new SearchResultDoneDsml( container.getLdapCodecService(),
                     new SearchResultDoneImpl() );
 
             SearchResponseDsml searchResponseDsml = ( SearchResponseDsml )
                 container.getBatchResponse().getCurrentResponse();
             searchResponseDsml.addResponse( searchResultDone );
-            
+
             XmlPullParser xpp = container.getParser();
 
             // Checking and adding the batchRequest's attributes
@@ -1703,10 +1765,10 @@ public final class Dsmlv2ResponseGrammar
     {
         public void action( Dsmlv2Container container ) throws XmlPullParserException
         {
-            SearchResponse searchResponse = ( SearchResponse ) 
+            SearchResponse searchResponse = ( SearchResponse )
                 container.getBatchResponse().getCurrentResponse().getDecorated();
 
-            SearchResultEntryDsml searchResultEntry = ( SearchResultEntryDsml ) 
+            SearchResultEntryDsml searchResultEntry = ( SearchResultEntryDsml )
                 searchResponse.getCurrentSearchResultEntry();
 
             XmlPullParser xpp = container.getParser();
@@ -1742,9 +1804,9 @@ public final class Dsmlv2ResponseGrammar
     {
         public void action( Dsmlv2Container container ) throws XmlPullParserException
         {
-            SearchResponse searchResponse = ( SearchResponse ) 
+            SearchResponse searchResponse = ( SearchResponse )
                 container.getBatchResponse().getCurrentResponse().getDecorated();
-            SearchResultEntryDsml searchResultEntry = ( SearchResultEntryDsml ) 
+            SearchResultEntryDsml searchResultEntry = ( SearchResultEntryDsml )
                 searchResponse.getCurrentSearchResultEntry();
 
             XmlPullParser xpp = container.getParser();
@@ -1788,7 +1850,7 @@ public final class Dsmlv2ResponseGrammar
     {
         public void action( Dsmlv2Container container ) throws XmlPullParserException
         {
-            SearchResponse searchResponse = ( SearchResponse ) 
+            SearchResponse searchResponse = ( SearchResponse )
                 container.getBatchResponse().getCurrentResponse().getDecorated();
             SearchResultReference searchResultReference = searchResponse.getCurrentSearchResultReference();
 
@@ -1871,7 +1933,8 @@ public final class Dsmlv2ResponseGrammar
     {
         public void action( Dsmlv2Container container ) throws XmlPullParserException
         {
-            ExtendedResponseDsml extendedResponse = ( ExtendedResponseDsml ) container.getBatchResponse().getCurrentResponse();
+            ExtendedResponseDsml extendedResponse = ( ExtendedResponseDsml ) container.getBatchResponse()
+                .getCurrentResponse();
 
             XmlPullParser xpp = container.getParser();
 
@@ -1889,7 +1952,7 @@ public final class Dsmlv2ResponseGrammar
                 }
                 else
                 {
-                    extendedResponse.setResponseValue( Strings.getBytesUtf8(nextText.trim()) );
+                    extendedResponse.setResponseValue( Strings.getBytesUtf8( nextText.trim() ) );
                 }
             }
             catch ( IOException e )

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/ErrorResponse.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/ErrorResponse.java?rev=1235364&r1=1235363&r2=1235364&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/ErrorResponse.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/ErrorResponse.java Tue Jan 24 17:27:00 2012
@@ -53,7 +53,6 @@ public class ErrorResponse extends Abstr
 {
     private static final String ERROR_RESPONSE_TAG = "errorResponse";
 
-
     /**
      * This enum represents the different types of error response
      *
@@ -135,7 +134,7 @@ public class ErrorResponse extends Abstr
         {
             element = new DefaultElement( ERROR_RESPONSE_TAG );
         }
-        
+
         // RequestID
         if ( requestID != 0 )
         {
@@ -279,8 +278,8 @@ public class ErrorResponse extends Abstr
     public LdapApiService getCodecService()
     {
         throw new IllegalArgumentException( "This should not be a decorator " +
-                "but seems it was made into one. We need to do something about" +
-                "this if this exception is being raise." );
+            "but seems it was made into one. We need to do something about" +
+            "this if this exception is being raise." );
     }
 
 

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/ExtendedResponseDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/ExtendedResponseDsml.java?rev=1235364&r1=1235363&r2=1235364&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/ExtendedResponseDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/ExtendedResponseDsml.java Tue Jan 24 17:27:00 2012
@@ -91,11 +91,11 @@ public class ExtendedResponseDsml extend
         {
             element = new DefaultElement( EXTENDED_RESPONSE_TAG );
         }
-        
+
         ExtendedResponse extendedResponse = ( ExtendedResponse ) getDecorated();
 
         // LDAP Result
-        LdapResultDsml ldapResultDsml = new LdapResultDsml( getCodecService(), 
+        LdapResultDsml ldapResultDsml = new LdapResultDsml( getCodecService(),
             getDecorated().getLdapResult(), getDecorated() );
         ldapResultDsml.toDsml( element );
 
@@ -125,7 +125,7 @@ public class ExtendedResponseDsml extend
             }
             else
             {
-                element.addElement( "response" ).addText( Strings.utf8ToString((byte[]) response) );
+                element.addElement( "response" ).addText( Strings.utf8ToString( ( byte[] ) response ) );
             }
         }
 
@@ -141,7 +141,7 @@ public class ExtendedResponseDsml extend
         getDecorated().setResponseName( oid );
     }
 
-    
+
     /**
      * Get the extended response name
      * 

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/LdapResultDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/LdapResultDsml.java?rev=1235364&r1=1235363&r2=1235364&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/LdapResultDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/LdapResultDsml.java Tue Jan 24 17:27:00 2012
@@ -47,7 +47,7 @@ public class LdapResultDsml implements D
 
     /** The associated LDAP Message */
     private Message message;
-    
+
     /** The ldap codec service */
     private LdapApiService codec;
 
@@ -85,7 +85,7 @@ public class LdapResultDsml implements D
         // Matched Dn
         Dn matchedDn = result.getMatchedDn();
 
-        if ( !Dn.isNullOrEmpty(matchedDn) )
+        if ( !Dn.isNullOrEmpty( matchedDn ) )
         {
             root.addAttribute( "matchedDn", matchedDn.getName() );
         }
@@ -159,9 +159,9 @@ public class LdapResultDsml implements D
      * 
      * @param matchedDn The matchedDn to set.
      */
-    public void setMatchedDn( Dn matchedDn)
+    public void setMatchedDn( Dn matchedDn )
     {
-        result.setMatchedDn(matchedDn);
+        result.setMatchedDn( matchedDn );
     }
 
 

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/ModDNResponseDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/ModDNResponseDsml.java?rev=1235364&r1=1235363&r2=1235364&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/ModDNResponseDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/ModDNResponseDsml.java Tue Jan 24 17:27:00 2012
@@ -85,7 +85,7 @@ public class ModDNResponseDsml extends A
             element = new DefaultElement( MOD_DN_RESPONSE_TAG );
         }
 
-        LdapResultDsml ldapResultDsml = new LdapResultDsml( getCodecService(), 
+        LdapResultDsml ldapResultDsml = new LdapResultDsml( getCodecService(),
             getDecorated().getLdapResult(), getDecorated() );
         ldapResultDsml.toDsml( element );
         return element;

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/ModifyResponseDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/ModifyResponseDsml.java?rev=1235364&r1=1235363&r2=1235364&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/ModifyResponseDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/ModifyResponseDsml.java Tue Jan 24 17:27:00 2012
@@ -85,7 +85,7 @@ public class ModifyResponseDsml extends 
             element = new DefaultElement( MODIFY_RESPONSE_TAG );
         }
 
-        LdapResultDsml ldapResultDsml = new LdapResultDsml( getCodecService(), 
+        LdapResultDsml ldapResultDsml = new LdapResultDsml( getCodecService(),
             getDecorated().getLdapResult(), getDecorated() );
         ldapResultDsml.toDsml( element );
         return element;

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/SearchResponseDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/SearchResponseDsml.java?rev=1235364&r1=1235363&r2=1235364&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/SearchResponseDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/SearchResponseDsml.java Tue Jan 24 17:27:00 2012
@@ -46,7 +46,7 @@ public class SearchResponseDsml extends 
     private static final String SEARCH_RESPONSE_TAG = "searchResponse";
 
     /** The responses */
-    private List<DsmlDecorator<? extends Response>> responses = 
+    private List<DsmlDecorator<? extends Response>> responses =
         new ArrayList<DsmlDecorator<? extends Response>>();
 
 
@@ -82,24 +82,24 @@ public class SearchResponseDsml extends 
     {
         if ( response instanceof SearchResultEntry )
         {
-            ( ( SearchResponse ) getDecorated() ).addSearchResultEntry( 
-                ( SearchResultEntryDsml ) response );            
+            ( ( SearchResponse ) getDecorated() ).addSearchResultEntry(
+                ( SearchResultEntryDsml ) response );
         }
         else if ( response instanceof SearchResultReference )
         {
-            ( ( SearchResponse ) getDecorated() ).addSearchResultReference( 
-                ( SearchResultReferenceDsml ) response );            
+            ( ( SearchResponse ) getDecorated() ).addSearchResultReference(
+                ( SearchResultReferenceDsml ) response );
         }
         else if ( response instanceof SearchResultDone )
         {
-            ( ( SearchResponse ) getDecorated() ).setSearchResultDone( 
-                ( SearchResultDoneDsml ) response );            
+            ( ( SearchResponse ) getDecorated() ).setSearchResultDone(
+                ( SearchResultDoneDsml ) response );
         }
         else
         {
             throw new IllegalArgumentException( "Unidentified search resp type" );
         }
-        
+
         return responses.add( response );
     }
 
@@ -134,7 +134,6 @@ public class SearchResponseDsml extends 
             element = new DefaultElement( SEARCH_RESPONSE_TAG );
         }
 
-
         // RequestID
         if ( getDecorated() != null )
         {

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/SearchResultDoneDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/SearchResultDoneDsml.java?rev=1235364&r1=1235363&r2=1235364&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/SearchResultDoneDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/SearchResultDoneDsml.java Tue Jan 24 17:27:00 2012
@@ -85,7 +85,7 @@ public class SearchResultDoneDsml extend
             element = new DefaultElement( SEARCH_RESULT_DONE_TAG );
         }
 
-        LdapResultDsml ldapResultDsml = 
+        LdapResultDsml ldapResultDsml =
             new LdapResultDsml( getCodecService(), getDecorated().getLdapResult(), getDecorated() );
         if ( ldapResultDsml != null )
         {

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/SearchResultEntryDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/SearchResultEntryDsml.java?rev=1235364&r1=1235363&r2=1235364&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/SearchResultEntryDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/SearchResultEntryDsml.java Tue Jan 24 17:27:00 2012
@@ -43,7 +43,7 @@ import org.dom4j.tree.DefaultElement;
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class SearchResultEntryDsml 
+public class SearchResultEntryDsml
     extends AbstractResponseDsml<SearchResultEntry>
     implements SearchResultEntry
 {
@@ -52,8 +52,8 @@ public class SearchResultEntryDsml 
 
     /** The current attribute being processed */
     private Attribute currentAttribute;
-    
-    
+
+
     /**
      * Creates a new getDecoratedMessage() of SearchResultEntryDsml.
      */
@@ -74,9 +74,7 @@ public class SearchResultEntryDsml 
         super( codec, ldapMessage );
     }
 
-    
-    
-    
+
     public Attribute getCurrentAttribute()
     {
         return currentAttribute;
@@ -112,7 +110,7 @@ public class SearchResultEntryDsml 
             currentAttribute.add( ( byte[] ) value );
         }
     }
-    
+
 
     /**
      * {@inheritDoc}
@@ -156,8 +154,8 @@ public class SearchResultEntryDsml 
                     Namespace xsdNamespace = new Namespace( ParserUtils.XSD, ParserUtils.XML_SCHEMA_URI );
                     Namespace xsiNamespace = new Namespace( ParserUtils.XSI, ParserUtils.XML_SCHEMA_INSTANCE_URI );
                     Document doc = attributeElement.getDocument();
-                    
-                    if ( doc !=null )
+
+                    if ( doc != null )
                     {
                         Element docRoot = doc.getRootElement();
                         docRoot.add( xsdNamespace );

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/SearchResultReferenceDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/SearchResultReferenceDsml.java?rev=1235364&r1=1235363&r2=1235364&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/SearchResultReferenceDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/SearchResultReferenceDsml.java Tue Jan 24 17:27:00 2012
@@ -37,7 +37,7 @@ import org.dom4j.tree.DefaultElement;
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class SearchResultReferenceDsml 
+public class SearchResultReferenceDsml
     extends AbstractResponseDsml<SearchResultReference>
     implements SearchResultReference
 {
@@ -90,7 +90,6 @@ public class SearchResultReferenceDsml 
             element = new DefaultElement( SEARCH_RESULT_REFERENCE_TAG );
         }
 
-
         // Adding References
         for ( String url : getDecorated().getReferral().getLdapUrls() )
         {

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AbandonRequestDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AbandonRequestDsml.java?rev=1235364&r1=1235363&r2=1235364&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AbandonRequestDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AbandonRequestDsml.java Tue Jan 24 17:27:00 2012
@@ -34,7 +34,7 @@ import org.dom4j.Element;
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class AbandonRequestDsml extends AbstractRequestDsml<AbandonRequest> 
+public class AbandonRequestDsml extends AbstractRequestDsml<AbandonRequest>
     implements AbandonRequest
 {
     /**
@@ -102,7 +102,7 @@ public class AbandonRequestDsml extends 
     public AbandonRequest setAbandonedMessageId( int abandonedMessageId )
     {
         getDecorated().setAbandoned( abandonedMessageId );
-        
+
         return this;
     }
 
@@ -122,45 +122,45 @@ public class AbandonRequestDsml extends 
     public AbandonRequest setAbandoned( int requestId )
     {
         getDecorated().setAbandoned( requestId );
-        
+
         return this;
     }
-    
-    
+
+
     /**
      * {@inheritDoc}
      */
     public AbandonRequest setMessageId( int messageId )
     {
         super.setMessageId( messageId );
-        
+
         return this;
     }
 
-    
+
     /**
      * {@inheritDoc}
      */
     public AbandonRequest addControl( Control control ) throws MessageException
     {
-        return (AbandonRequest)super.addControl( control );
+        return ( AbandonRequest ) super.addControl( control );
     }
-    
-    
+
+
     /**
      * {@inheritDoc}
      */
     public AbandonRequest addAllControls( Control[] controls ) throws MessageException
     {
-        return (AbandonRequest)super.addAllControls( controls );
+        return ( AbandonRequest ) super.addAllControls( controls );
     }
-    
-    
+
+
     /**
      * {@inheritDoc}
      */
     public AbandonRequest removeControl( Control control ) throws MessageException
     {
-        return (AbandonRequest)super.removeControl( control );
+        return ( AbandonRequest ) super.removeControl( control );
     }
 }

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AbstractRequestDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AbstractRequestDsml.java?rev=1235364&r1=1235363&r2=1235364&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AbstractRequestDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AbstractRequestDsml.java Tue Jan 24 17:27:00 2012
@@ -35,8 +35,8 @@ import org.dom4j.Element;
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public abstract class AbstractRequestDsml<E extends Request> 
-    extends AbstractDsmlMessageDecorator<E> 
+public abstract class AbstractRequestDsml<E extends Request>
+    extends AbstractDsmlMessageDecorator<E>
     implements Request
 {
     /**

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AbstractResultResponseRequestDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AbstractResultResponseRequestDsml.java?rev=1235364&r1=1235363&r2=1235364&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AbstractResultResponseRequestDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AbstractResultResponseRequestDsml.java Tue Jan 24 17:27:00 2012
@@ -37,8 +37,8 @@ import org.dom4j.Element;
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public abstract class AbstractResultResponseRequestDsml<E extends ResultResponseRequest<F>, F extends ResultResponse> 
-    extends AbstractRequestDsml<E> 
+public abstract class AbstractResultResponseRequestDsml<E extends ResultResponseRequest<F>, F extends ResultResponse>
+    extends AbstractRequestDsml<E>
     implements ResultResponseRequest<F>, AbandonableRequest
 {
     /**
@@ -167,7 +167,7 @@ public abstract class AbstractResultResp
     public AbandonableRequest addAbandonListener( AbandonListener listener )
     {
         ( ( AbandonableRequest ) getDecorated() ).addAbandonListener( listener );
-        
+
         return this;
     }
 }

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AddRequestDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AddRequestDsml.java?rev=1235364&r1=1235363&r2=1235364&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AddRequestDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AddRequestDsml.java Tue Jan 24 17:27:00 2012
@@ -44,15 +44,15 @@ import org.dom4j.QName;
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class AddRequestDsml 
-    extends AbstractResultResponseRequestDsml<AddRequest, AddResponse> 
+public class AddRequestDsml
+    extends AbstractResultResponseRequestDsml<AddRequest, AddResponse>
     implements AddRequest
 {
 
     /** The current attribute being decoded */
     private Attribute currentAttribute;
-    
-    
+
+
     /**
      * Creates a new getDecoratedMessage() of AddRequestDsml.
      */
@@ -73,9 +73,7 @@ public class AddRequestDsml 
         super( codec, ldapMessage );
     }
 
-    
 
-    
     /**
      * Create a new attributeValue
      * 
@@ -136,8 +134,8 @@ public class AddRequestDsml 
     {
         currentAttribute.add( value );
     }
-    
-    
+
+
     /**
      * {@inheritDoc}
      */
@@ -224,7 +222,7 @@ public class AddRequestDsml 
     {
         if ( value instanceof Value<?> )
         {
-            ( ( AddRequestDsml ) getDecorated() ).addAttributeValue( (Value<?>) value );
+            ( ( AddRequestDsml ) getDecorated() ).addAttributeValue( ( Value<?> ) value );
         }
         else if ( value instanceof String )
         {
@@ -254,7 +252,7 @@ public class AddRequestDsml 
     public AddRequest setEntryDn( Dn entryDn )
     {
         getDecorated().setEntryDn( entryDn );
-        
+
         return this;
     }
 
@@ -265,44 +263,46 @@ public class AddRequestDsml 
     public AddRequest setEntry( Entry entry )
     {
         getDecorated().setEntry( entry );
-        
+
         return this;
     }
+
+
     /**
      * {@inheritDoc}
      */
     public AddRequest setMessageId( int messageId )
     {
         super.setMessageId( messageId );
-        
+
         return this;
     }
 
-    
+
     /**
      * {@inheritDoc}
      */
     public AddRequest addControl( Control control ) throws MessageException
     {
-        return (AddRequest)super.addControl( control );
+        return ( AddRequest ) super.addControl( control );
     }
-    
-    
+
+
     /**
      * {@inheritDoc}
      */
     public AddRequest addAllControls( Control[] controls ) throws MessageException
     {
-        return (AddRequest)super.addAllControls( controls );
+        return ( AddRequest ) super.addAllControls( controls );
     }
-    
-    
+
+
     /**
      * {@inheritDoc}
      */
     public AddRequest removeControl( Control control ) throws MessageException
     {
-        return (AddRequest)super.removeControl( control );
+        return ( AddRequest ) super.removeControl( control );
     }
 
 

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AttributeValueAssertion.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AttributeValueAssertion.java?rev=1235364&r1=1235363&r2=1235364&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AttributeValueAssertion.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AttributeValueAssertion.java Tue Jan 24 17:27:00 2012
@@ -50,6 +50,7 @@ public class AttributeValueAssertion
     /** The assertion value */
     private Value<?> assertionValue;
 
+
     /**
      *
      * Helper method to render an object which can be a String or a byte[]
@@ -62,19 +63,19 @@ public class AttributeValueAssertion
         {
             if ( object instanceof String )
             {
-                return (String) object;
+                return ( String ) object;
             }
             else if ( object instanceof byte[] )
             {
-                return Strings.dumpBytes((byte[]) object);
+                return Strings.dumpBytes( ( byte[] ) object );
             }
-            else if ( object instanceof StringValue)
+            else if ( object instanceof StringValue )
             {
-                return ( (StringValue) object ).getValue();
+                return ( ( StringValue ) object ).getValue();
             }
             else if ( object instanceof BinaryValue )
             {
-                return Strings.dumpBytes(((BinaryValue) object).getValue());
+                return Strings.dumpBytes( ( ( BinaryValue ) object ).getValue() );
             }
             else
             {
@@ -149,7 +150,7 @@ public class AttributeValueAssertion
         sb.append( tabs ).append( "    Assertion description : '" );
         sb.append( attributeDesc != null ? attributeDesc : "null" );
         sb.append( "'\n" );
-        sb.append( tabs ).append( "    Assertion value : '" ).append( dumpObject(assertionValue) ).append( "'\n" );
+        sb.append( tabs ).append( "    Assertion value : '" ).append( dumpObject( assertionValue ) ).append( "'\n" );
 
         return sb.toString();
     }
@@ -187,7 +188,7 @@ public class AttributeValueAssertion
                 break;
         }
 
-        sb.append( dumpObject(assertionValue) );
+        sb.append( dumpObject( assertionValue ) );
 
         return sb.toString();
     }

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/request/BatchRequestDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/request/BatchRequestDsml.java?rev=1235364&r1=1235363&r2=1235364&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/request/BatchRequestDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/request/BatchRequestDsml.java Tue Jan 24 17:27:00 2012
@@ -53,7 +53,6 @@ public class BatchRequestDsml
     /** The response order */
     private ResponseOrder responseOrder;
 
-
     /**
      * This enum represents the different types of processing for a Batch Request 
      *
@@ -62,12 +61,11 @@ public class BatchRequestDsml
     public enum Processing
     {
         /** Sequential processing. */
-        SEQUENTIAL, 
+        SEQUENTIAL,
         /** Parallel processing. */
         PARALLEL
     }
 
-    
     /**
      * This enum represents the different types of on error handling for a BatchRequest
      *
@@ -76,12 +74,11 @@ public class BatchRequestDsml
     public enum OnError
     {
         /** Resume on error. */
-        RESUME, 
+        RESUME,
         /** Exit on error. */
         EXIT
     }
 
-
     /**
      * This enum represents the different types of response order for a Batch Request
      *
@@ -94,8 +91,7 @@ public class BatchRequestDsml
         /** Unordered response order. */
         UNORDERED
     }
-    
-    
+
     /**
      * flag to indicate to store the request objects present in 
      * this batch request. Default is true
@@ -103,7 +99,8 @@ public class BatchRequestDsml
     private boolean storeReq = true;
 
     private DsmlDecorator currentReq;
-    
+
+
     /**
      * Creates a new instance of BatchResponseDsml.
      */
@@ -127,7 +124,7 @@ public class BatchRequestDsml
         return currentReq;
     }
 
-    
+
     /**
      * Adds a request to the Batch Request DSML.
      *
@@ -139,7 +136,7 @@ public class BatchRequestDsml
     public boolean addRequest( DsmlDecorator<? extends Request> request )
     {
         currentReq = request;
-        
+
         if ( storeReq )
         {
             return requests.add( request );
@@ -271,7 +268,7 @@ public class BatchRequestDsml
         return requests;
     }
 
-    
+
     /**
      * Converts this Batch Request to its XML representation in the DSMLv2 format.
      * 



Mime
View raw message