directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r1073659 - /directory/shared/branches/akarasulu/ldap-extras/codec/src/main/java/org/apache/directory/shared/ldap/extras/extended/StoredProcedureRequestImpl.java
Date Wed, 23 Feb 2011 09:46:32 GMT
Author: akarasulu
Date: Wed Feb 23 09:46:32 2011
New Revision: 1073659

URL: http://svn.apache.org/viewvc?rev=1073659&view=rev
Log:
setting up some default values

Modified:
    directory/shared/branches/akarasulu/ldap-extras/codec/src/main/java/org/apache/directory/shared/ldap/extras/extended/StoredProcedureRequestImpl.java

Modified: directory/shared/branches/akarasulu/ldap-extras/codec/src/main/java/org/apache/directory/shared/ldap/extras/extended/StoredProcedureRequestImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/akarasulu/ldap-extras/codec/src/main/java/org/apache/directory/shared/ldap/extras/extended/StoredProcedureRequestImpl.java?rev=1073659&r1=1073658&r2=1073659&view=diff
==============================================================================
--- directory/shared/branches/akarasulu/ldap-extras/codec/src/main/java/org/apache/directory/shared/ldap/extras/extended/StoredProcedureRequestImpl.java
(original)
+++ directory/shared/branches/akarasulu/ldap-extras/codec/src/main/java/org/apache/directory/shared/ldap/extras/extended/StoredProcedureRequestImpl.java
Wed Feb 23 09:46:32 2011
@@ -30,6 +30,7 @@ import org.apache.directory.shared.i18n.
 import org.apache.directory.shared.ldap.model.message.AbstractExtendedRequest;
 import org.apache.directory.shared.util.exception.NotImplementedException;
 import org.apache.directory.shared.ldap.extras.extended.ads_impl.StoredProcedure.StoredProcedureParameter;
+import org.apache.directory.shared.util.StringConstants;
 import org.apache.directory.shared.util.Strings;
 
 
@@ -43,9 +44,9 @@ public class StoredProcedureRequestImpl 
     /** The serialVersionUID. */
     private static final long serialVersionUID = -4682291068700593492L;
     
-    private String language;
+    private String language = "Java";
 
-    private byte[] procedure;
+    private byte[] procedure = StringConstants.EMPTY_BYTES;
 
     private List<StoredProcedureParameter> parameters = new ArrayList<StoredProcedureParameter>();
     



Mime
View raw message