directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r753208 - /directory/shared/branches/shared-replication/ldap/src/main/java/org/apache/directory/shared/ldap/message/extended/CancelResponse.java
Date Fri, 13 Mar 2009 11:19:59 GMT
Author: elecharny
Date: Fri Mar 13 11:19:59 2009
New Revision: 753208

URL: http://svn.apache.org/viewvc?rev=753208&view=rev
Log:
Minor refactoring

Modified:
    directory/shared/branches/shared-replication/ldap/src/main/java/org/apache/directory/shared/ldap/message/extended/CancelResponse.java

Modified: directory/shared/branches/shared-replication/ldap/src/main/java/org/apache/directory/shared/ldap/message/extended/CancelResponse.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-replication/ldap/src/main/java/org/apache/directory/shared/ldap/message/extended/CancelResponse.java?rev=753208&r1=753207&r2=753208&view=diff
==============================================================================
--- directory/shared/branches/shared-replication/ldap/src/main/java/org/apache/directory/shared/ldap/message/extended/CancelResponse.java
(original)
+++ directory/shared/branches/shared-replication/ldap/src/main/java/org/apache/directory/shared/ldap/message/extended/CancelResponse.java
Fri Mar 13 11:19:59 2009
@@ -21,6 +21,7 @@
 
 import org.apache.directory.shared.ldap.message.ExtendedResponseImpl;
 import org.apache.directory.shared.ldap.message.ResultCodeEnum;
+import org.apache.directory.shared.ldap.util.StringTools;
 /**
  * 
  * The response sent back from the server after the Cancel extended operation is performed.
@@ -73,14 +74,14 @@
     // ExtendedResponse Interface Method Implementations
     // ------------------------------------------------------------------------
     /**
-     * Gets the reponse OID specific encoded response values. It's a null
+     * Gets the response OID specific encoded response values. It's a null
      * value for a CancelResponse
      * 
      * @return the response specific encoded response values.
      */
     public byte[] getResponse()
     {
-        return null;
+    	return StringTools.EMPTY_BYTES;
     }
 
 
@@ -92,7 +93,7 @@
      */
     public String getResponseName()
     {
-        return null;
+        return "";
     }
 
 



Mime
View raw message