directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r569052 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/CascadeControl.java
Date Thu, 23 Aug 2007 15:58:06 GMT
Author: akarasulu
Date: Thu Aug 23 08:58:05 2007
New Revision: 569052

URL: http://svn.apache.org/viewvc?rev=569052&view=rev
Log:
use StringTools.EMPTY_BYTES

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/CascadeControl.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/CascadeControl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/CascadeControl.java?rev=569052&r1=569051&r2=569052&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/CascadeControl.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/CascadeControl.java
Thu Aug 23 08:58:05 2007
@@ -19,6 +19,8 @@
  */
 package org.apache.directory.shared.ldap.message;
 
+import org.apache.directory.shared.ldap.util.StringTools;
+
 
 /**
  * The control for peforming a cascade of operations like delete and modify.
@@ -29,10 +31,9 @@
 public class CascadeControl extends ControlImpl
 {
     private static final long serialVersionUID = -2356861450876343999L;
-    private static final byte[] EMPTY_ARRAY = new byte[0];
-    
     public static final String CONTROL_OID = "1.3.6.1.4.1.18060.0.0.1";
 
+
     public CascadeControl()
     {
         super();
@@ -42,6 +43,6 @@
 
     public byte[] getEncodedValue()
     {
-        return EMPTY_ARRAY;
+        return StringTools.EMPTY_BYTES;
     }
 }



Mime
View raw message