directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r1064215 - in /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec: ./ actions/ decorators/
Date Thu, 27 Jan 2011 17:25:03 GMT
Author: akarasulu
Date: Thu Jan 27 17:25:02 2011
New Revision: 1064215

URL: http://svn.apache.org/viewvc?rev=1064215&view=rev
Log:
fixing build errors after altering some methods

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapEncoder.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapMessageContainer.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapMessageGrammar.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/actions/InitAttributeDescListAction.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/AddRequestDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/AddResponseDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindRequestDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindResponseDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/CompareRequestDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/CompareResponseDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/DeleteResponseDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ExtendedRequestDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ExtendedResponseDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/IntermediateResponseDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyDnRequestDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyDnResponseDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyRequestDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyResponseDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchRequestDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultDoneDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultEntryDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultReferenceDecorator.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapEncoder.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapEncoder.java?rev=1064215&r1=1064214&r2=1064215&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapEncoder.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapEncoder.java
Thu Jan 27 17:25:02 2011
@@ -193,12 +193,12 @@ public class LdapEncoder
         // - the tag (0x02), 1 byte
         // - the length of the Id length, 1 byte
         // - the Id length, 1 to 4 bytes
-        int ldapMessageLength = 1 + 1 + Value.getNbBytes( messageDecorator.getMessage().getMessageId());
+        int ldapMessageLength = 1 + 1 + Value.getNbBytes( messageDecorator.getDecoratedMessage().getMessageId());
 
         // Get the protocolOp length
         ldapMessageLength += computeProtocolOpLength( messageDecorator );
 
-        Map<String, Control> controls = messageDecorator.getMessage().getControls();
+        Map<String, Control> controls = messageDecorator.getDecoratedMessage().getControls();
 
         // Do the same thing for Controls, if any.
         if ( controls.size() > 0 )
@@ -2439,7 +2439,7 @@ public class LdapEncoder
      */
     private int computeProtocolOpLength( MessageDecorator messageDecorator )
     {
-        Message message = messageDecorator.getMessage();
+        Message message = messageDecorator.getDecoratedMessage();
 
         switch ( message.getType() )
         {
@@ -2514,7 +2514,7 @@ public class LdapEncoder
 
     private void encodeProtocolOp( ByteBuffer bb, MessageDecorator decorator ) throws EncoderException
     {
-        Message message = decorator.getMessage();
+        Message message = decorator.getDecoratedMessage();
 
         switch ( message.getType() )
         {

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapMessageContainer.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapMessageContainer.java?rev=1064215&r1=1064214&r2=1064215&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapMessageContainer.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapMessageContainer.java
Thu Jan 27 17:25:02 2011
@@ -238,7 +238,7 @@ public class LdapMessageContainer extend
      */
     public ModifyRequest getModifyRequest()
     {
-        return (ModifyRequest)(( ModifyRequestDecorator ) message).getMessage();
+        return (ModifyRequest)(( ModifyRequestDecorator ) message).getDecoratedMessage();
     }
 
 

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapMessageGrammar.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapMessageGrammar.java?rev=1064215&r1=1064214&r2=1064215&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapMessageGrammar.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapMessageGrammar.java
Thu Jan 27 17:25:02 2011
@@ -1443,7 +1443,7 @@ public final class LdapMessageGrammar ex
 
                     LdapMessageContainer ldapMessageContainer = ( LdapMessageContainer )
container;
                     ModifyRequestDecorator modifyRequestDecorator = ldapMessageContainer.getModifyRequestDecorator();
-                    ModifyRequest modifyRequest = (ModifyRequest)modifyRequestDecorator.getMessage();
+                    ModifyRequest modifyRequest = (ModifyRequest)modifyRequestDecorator.getDecoratedMessage();
 
                     TLV tlv = ldapMessageContainer.getCurrentTLV();
 
@@ -1452,7 +1452,7 @@ public final class LdapMessageGrammar ex
                     // Store the value.
                     if ( tlv.getLength() == 0 )
                     {
-                        ((ModifyRequest)modifyRequestDecorator.getMessage()).setName( object
);
+                        ((ModifyRequest)modifyRequestDecorator.getDecoratedMessage()).setName(
object );
                     }
                     else
                     {
@@ -1609,7 +1609,7 @@ public final class LdapMessageGrammar ex
 
                     LdapMessageContainer ldapMessageContainer = ( LdapMessageContainer )
container;
                     ModifyRequestDecorator modifyRequestDecorator = ldapMessageContainer.getModifyRequestDecorator();
-                    ModifyRequest modifyRequest = (ModifyRequest)modifyRequestDecorator.getMessage();
+                    ModifyRequest modifyRequest = (ModifyRequest)modifyRequestDecorator.getDecoratedMessage();
 
                     TLV tlv = ldapMessageContainer.getCurrentTLV();
 

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/actions/InitAttributeDescListAction.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/actions/InitAttributeDescListAction.java?rev=1064215&r1=1064214&r2=1064215&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/actions/InitAttributeDescListAction.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/actions/InitAttributeDescListAction.java
Thu Jan 27 17:25:02 2011
@@ -60,7 +60,7 @@ public class InitAttributeDescListAction
         
         // Here, we have to inject the decoded filter into the SearchRequest
         SearchRequestDecorator searchRequestDecorator = ldapMessageContainer.getSearchRequestDecorator();
-        SearchRequest searchRequest = (SearchRequest)searchRequestDecorator.getMessage();
+        SearchRequest searchRequest = (SearchRequest)searchRequestDecorator.getDecoratedMessage();
         
         searchRequest.setFilter( searchRequestDecorator.getFilterNode() );
         

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/AddRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/AddRequestDecorator.java?rev=1064215&r1=1064214&r2=1064215&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/AddRequestDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/AddRequestDecorator.java
Thu Jan 27 17:25:02 2011
@@ -66,7 +66,7 @@ public class AddRequestDecorator extends
     /**
      * @return The decorated AddRequest
      */
-    public AddRequest getDecoratedAddRequest()
+    public AddRequest getAddRequest()
     {
         return ( AddRequest ) getDecoratedMessage();
     }
@@ -156,7 +156,7 @@ public class AddRequestDecorator extends
      */
     public MessageTypeEnum getResponseType()
     {
-        return getDecoratedAddRequest().getResponseType();
+        return getAddRequest().getResponseType();
     }
 
 
@@ -165,7 +165,7 @@ public class AddRequestDecorator extends
      */
     public ResultResponse getResultResponse()
     {
-        return getDecoratedAddRequest().getResultResponse();
+        return getAddRequest().getResultResponse();
     }
 
 
@@ -174,7 +174,7 @@ public class AddRequestDecorator extends
      */
     public boolean hasResponse()
     {
-        return getDecoratedAddRequest().hasResponse();
+        return getAddRequest().hasResponse();
     }
 
 
@@ -183,7 +183,7 @@ public class AddRequestDecorator extends
      */
     public void abandon()
     {
-        getDecoratedAddRequest().abandon();
+        getAddRequest().abandon();
     }
 
 
@@ -192,7 +192,7 @@ public class AddRequestDecorator extends
      */
     public boolean isAbandoned()
     {
-        return getDecoratedAddRequest().isAbandoned();
+        return getAddRequest().isAbandoned();
     }
 
 
@@ -201,7 +201,7 @@ public class AddRequestDecorator extends
      */
     public void addAbandonListener( AbandonListener listener )
     {
-        getDecoratedAddRequest().addAbandonListener( listener );
+        getAddRequest().addAbandonListener( listener );
     }
 
 
@@ -210,7 +210,7 @@ public class AddRequestDecorator extends
      */
     public Dn getEntryDn()
     {
-        return getDecoratedAddRequest().getEntryDn();
+        return getAddRequest().getEntryDn();
     }
 
 
@@ -219,7 +219,7 @@ public class AddRequestDecorator extends
      */
     public void setEntryDn( Dn entry )
     {
-        getDecoratedAddRequest().setEntryDn( entry );
+        getAddRequest().setEntryDn( entry );
     }
 
 
@@ -228,7 +228,7 @@ public class AddRequestDecorator extends
      */
     public Entry getEntry()
     {
-        return getDecoratedAddRequest().getEntry();
+        return getAddRequest().getEntry();
     }
 
 
@@ -237,7 +237,7 @@ public class AddRequestDecorator extends
      */
     public void setEntry( Entry entry )
     {
-        getDecoratedAddRequest().setEntry( entry );
+        getAddRequest().setEntry( entry );
     }
 
 
@@ -246,7 +246,7 @@ public class AddRequestDecorator extends
      */
     public void addAttributeType( String type ) throws LdapException
     {
-        getDecoratedAddRequest().addAttributeType( type );
+        getAddRequest().addAttributeType( type );
     }
 
 
@@ -255,7 +255,7 @@ public class AddRequestDecorator extends
      */
     public String getCurrentAttributeType()
     {
-        return getDecoratedAddRequest().getCurrentAttributeType();
+        return getAddRequest().getCurrentAttributeType();
     }
 
 
@@ -264,7 +264,7 @@ public class AddRequestDecorator extends
      */
     public void addAttributeValue( String value )
     {
-        getDecoratedAddRequest().addAttributeValue( value );
+        getAddRequest().addAttributeValue( value );
     }
 
 
@@ -273,7 +273,7 @@ public class AddRequestDecorator extends
      */
     public void addAttributeValue( Value<?> value )
     {
-        getDecoratedAddRequest().addAttributeValue( value );
+        getAddRequest().addAttributeValue( value );
     }
 
 
@@ -282,7 +282,7 @@ public class AddRequestDecorator extends
      */
     public void addAttributeValue( byte[] value )
     {
-        getDecoratedAddRequest().addAttributeValue( value );
+        getAddRequest().addAttributeValue( value );
     }
     
     
@@ -291,6 +291,6 @@ public class AddRequestDecorator extends
      */
     public String toString()
     {
-        return getDecoratedAddRequest().toString();
+        return getAddRequest().toString();
     }
 }

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/AddResponseDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/AddResponseDecorator.java?rev=1064215&r1=1064214&r2=1064215&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/AddResponseDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/AddResponseDecorator.java
Thu Jan 27 17:25:02 2011
@@ -52,7 +52,7 @@ public class AddResponseDecorator extend
      */
     public AddResponse getAddResponse()
     {
-        return ( AddResponse ) getMessage();
+        return ( AddResponse ) getDecoratedMessage();
     }
 
 
@@ -83,7 +83,7 @@ public class AddResponseDecorator extend
      */
     public LdapResult getLdapResult()
     {
-        return ((AddResponseImpl)decoratedMessage).getLdapResult();
+        return getAddResponse().getLdapResult();
     }
     
     
@@ -92,6 +92,6 @@ public class AddResponseDecorator extend
      */
     public String toString()
     {
-        return ((AddResponseImpl)decoratedMessage).toString();
+        return getAddResponse().toString();
     }
 }

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindRequestDecorator.java?rev=1064215&r1=1064214&r2=1064215&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindRequestDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindRequestDecorator.java
Thu Jan 27 17:25:02 2011
@@ -56,7 +56,7 @@ public class BindRequestDecorator extend
      */
     public BindRequest getBindRequest()
     {
-        return ( BindRequest ) getMessage();
+        return ( BindRequest ) getDecoratedMessage();
     }
 
 

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindResponseDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindResponseDecorator.java?rev=1064215&r1=1064214&r2=1064215&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindResponseDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindResponseDecorator.java
Thu Jan 27 17:25:02 2011
@@ -50,7 +50,7 @@ public class BindResponseDecorator exten
      */
     public BindResponse getBindResponse()
     {
-        return ( BindResponse ) getMessage();
+        return ( BindResponse ) getDecoratedMessage();
     }
 
 

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/CompareRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/CompareRequestDecorator.java?rev=1064215&r1=1064214&r2=1064215&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/CompareRequestDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/CompareRequestDecorator.java
Thu Jan 27 17:25:02 2011
@@ -59,7 +59,7 @@ public class CompareRequestDecorator ext
      */
     public CompareRequest getCompareRequest()
     {
-        return ( CompareRequest ) getMessage();
+        return ( CompareRequest ) getDecoratedMessage();
     }
 
 

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/CompareResponseDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/CompareResponseDecorator.java?rev=1064215&r1=1064214&r2=1064215&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/CompareResponseDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/CompareResponseDecorator.java
Thu Jan 27 17:25:02 2011
@@ -50,7 +50,7 @@ public class CompareResponseDecorator ex
      */
     public CompareResponse getCompareResponse()
     {
-        return ( CompareResponse ) getMessage();
+        return ( CompareResponse ) getDecoratedMessage();
     }
 
 

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/DeleteResponseDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/DeleteResponseDecorator.java?rev=1064215&r1=1064214&r2=1064215&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/DeleteResponseDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/DeleteResponseDecorator.java
Thu Jan 27 17:25:02 2011
@@ -50,7 +50,7 @@ public class DeleteResponseDecorator ext
      */
     public DeleteResponse getDeleteResponse()
     {
-        return ( DeleteResponse ) getMessage();
+        return ( DeleteResponse ) getDecoratedMessage();
     }
 
 

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ExtendedRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ExtendedRequestDecorator.java?rev=1064215&r1=1064214&r2=1064215&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ExtendedRequestDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ExtendedRequestDecorator.java
Thu Jan 27 17:25:02 2011
@@ -53,7 +53,7 @@ public class ExtendedRequestDecorator ex
      */
     public ExtendedRequest getExtendedRequest()
     {
-        return ( ExtendedRequest ) getMessage();
+        return ( ExtendedRequest ) getDecoratedMessage();
     }
 
 

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ExtendedResponseDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ExtendedResponseDecorator.java?rev=1064215&r1=1064214&r2=1064215&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ExtendedResponseDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ExtendedResponseDecorator.java
Thu Jan 27 17:25:02 2011
@@ -53,7 +53,7 @@ public class ExtendedResponseDecorator e
      */
     public ExtendedResponse getExtendedResponse()
     {
-        return ( ExtendedResponse ) getMessage();
+        return ( ExtendedResponse ) getDecoratedMessage();
     }
 
 

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/IntermediateResponseDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/IntermediateResponseDecorator.java?rev=1064215&r1=1064214&r2=1064215&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/IntermediateResponseDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/IntermediateResponseDecorator.java
Thu Jan 27 17:25:02 2011
@@ -53,7 +53,7 @@ public class IntermediateResponseDecorat
      */
     public IntermediateResponse getIntermediateResponse()
     {
-        return ( IntermediateResponse ) getMessage();
+        return ( IntermediateResponse ) getDecoratedMessage();
     }
 
 

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyDnRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyDnRequestDecorator.java?rev=1064215&r1=1064214&r2=1064215&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyDnRequestDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyDnRequestDecorator.java
Thu Jan 27 17:25:02 2011
@@ -50,7 +50,7 @@ public class ModifyDnRequestDecorator ex
      */
     public ModifyDnRequest getModifyDnRequest()
     {
-        return ( ModifyDnRequest ) getMessage();
+        return ( ModifyDnRequest ) getDecoratedMessage();
     }
 
 

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyDnResponseDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyDnResponseDecorator.java?rev=1064215&r1=1064214&r2=1064215&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyDnResponseDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyDnResponseDecorator.java
Thu Jan 27 17:25:02 2011
@@ -50,7 +50,7 @@ public class ModifyDnResponseDecorator e
      */
     public ModifyDnResponse getModifyDnResponse()
     {
-        return ( ModifyDnResponse ) getMessage();
+        return ( ModifyDnResponse ) getDecoratedMessage();
     }
 
 

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyRequestDecorator.java?rev=1064215&r1=1064214&r2=1064215&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyRequestDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyRequestDecorator.java
Thu Jan 27 17:25:02 2011
@@ -77,7 +77,7 @@ public class ModifyRequestDecorator exte
      */
     public ModifyRequest getModifyRequest()
     {
-        return ( ModifyRequest ) getMessage();
+        return ( ModifyRequest ) getDecoratedMessage();
     }
 
 
@@ -192,7 +192,7 @@ public class ModifyRequestDecorator exte
         currentAttribute = new DefaultEntryAttribute( type );
 
         Modification modification = new DefaultModification( currentOperation, currentAttribute
);
-        ((ModifyRequest)getMessage()).addModification( modification );
+        ((ModifyRequest)getDecoratedMessage()).addModification( modification );
     }
 
 

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyResponseDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyResponseDecorator.java?rev=1064215&r1=1064214&r2=1064215&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyResponseDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyResponseDecorator.java
Thu Jan 27 17:25:02 2011
@@ -50,7 +50,7 @@ public class ModifyResponseDecorator ext
      */
     public ModifyResponse getModifyResponse()
     {
-        return ( ModifyResponse ) getMessage();
+        return ( ModifyResponse ) getDecoratedMessage();
     }
 
 

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchRequestDecorator.java?rev=1064215&r1=1064214&r2=1064215&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchRequestDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchRequestDecorator.java
Thu Jan 27 17:25:02 2011
@@ -100,7 +100,7 @@ public class SearchRequestDecorator exte
      */
     public SearchRequest getSearchRequest()
     {
-        return ( SearchRequest ) getMessage();
+        return ( SearchRequest ) getDecoratedMessage();
     }
 
 

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultDoneDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultDoneDecorator.java?rev=1064215&r1=1064214&r2=1064215&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultDoneDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultDoneDecorator.java
Thu Jan 27 17:25:02 2011
@@ -50,7 +50,7 @@ public class SearchResultDoneDecorator e
      */
     public SearchResultDone getSearchResultDone()
     {
-        return ( SearchResultDone ) getMessage();
+        return ( SearchResultDone ) getDecoratedMessage();
     }
 
 

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultEntryDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultEntryDecorator.java?rev=1064215&r1=1064214&r2=1064215&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultEntryDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultEntryDecorator.java
Thu Jan 27 17:25:02 2011
@@ -64,7 +64,7 @@ public class SearchResultEntryDecorator 
      */
     public SearchResultEntry getSearchResultEntry()
     {
-        return ( SearchResultEntry ) getMessage();
+        return ( SearchResultEntry ) getDecoratedMessage();
     }
 
 

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultReferenceDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultReferenceDecorator.java?rev=1064215&r1=1064214&r2=1064215&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultReferenceDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultReferenceDecorator.java
Thu Jan 27 17:25:02 2011
@@ -53,7 +53,7 @@ public class SearchResultReferenceDecora
      */
     public SearchResultReference getSearchResultReference()
     {
-        return ( SearchResultReference ) getMessage();
+        return ( SearchResultReference ) getDecoratedMessage();
     }
 
 



Mime
View raw message