directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r1063116 - in /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap: message/decorators/MessageDecorator.java model/message/UnbindRequestImpl.java
Date Tue, 25 Jan 2011 02:52:51 GMT
Author: akarasulu
Date: Tue Jan 25 02:52:51 2011
New Revision: 1063116

URL: http://svn.apache.org/viewvc?rev=1063116&view=rev
Log:
some cleanup and add unbind to switch

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/decorators/MessageDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/model/message/UnbindRequestImpl.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/decorators/MessageDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/decorators/MessageDecorator.java?rev=1063116&r1=1063115&r2=1063116&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/decorators/MessageDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/decorators/MessageDecorator.java
Tue Jan 25 02:52:51 2011
@@ -50,6 +50,8 @@ public class MessageDecorator
         switch ( decoratedMessage.getType() )
         {
             case ABANDON_REQUEST:
+            case DEL_REQUEST:
+            case UNBIND_REQUEST:
                 return new MessageDecorator( decoratedMessage );
             case ADD_REQUEST:
                 return new AddRequestDecorator( ( AddRequest ) decoratedMessage );
@@ -63,8 +65,6 @@ public class MessageDecorator
                 return new CompareRequestDecorator( ( CompareRequest ) decoratedMessage );
             case COMPARE_RESPONSE:
                 return new CompareResponseDecorator( ( CompareResponse ) decoratedMessage
);
-            case DEL_REQUEST:
-                return new MessageDecorator( decoratedMessage );
             case DEL_RESPONSE:
                 return new DeleteResponseDecorator( ( DeleteResponse ) decoratedMessage );
             case EXTENDED_REQUEST:

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/model/message/UnbindRequestImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/model/message/UnbindRequestImpl.java?rev=1063116&r1=1063115&r2=1063116&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/model/message/UnbindRequestImpl.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/model/message/UnbindRequestImpl.java
Tue Jan 25 02:52:51 2011
@@ -21,8 +21,6 @@ package org.apache.directory.shared.ldap
 
 
 import org.apache.directory.shared.i18n.I18n;
-import org.apache.directory.shared.ldap.model.message.AbstractRequest;
-import org.apache.directory.shared.ldap.model.message.UnbindRequest;
 
 
 /**



Mime
View raw message