You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2010/10/01 21:06:42 UTC
svn commit: r1003619 - in
/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap:
entry/ filter/ message/ message/control/ name/ schema/ schema/normalizers/
util/
Author: seelmann
Date: Fri Oct 1 19:06:42 2010
New Revision: 1003619
URL: http://svn.apache.org/viewvc?rev=1003619&view=rev
Log:
Fix checkstyle errors
Modified:
directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultEntry.java
directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/ImmutableEntry.java
directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ExprNode.java
directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/ExtendedRequest.java
directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnRequest.java
directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnRequestImpl.java
directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyRequest.java
directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/control/Control.java
directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/name/AVA.java
directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/PrepareString.java
directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaUtils.java
directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/normalizers/GeneralizedTimeNormalizer.java
directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/AttributeUtils.java
directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/DummySSLSocketFactory.java
directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/StringTools.java
Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultEntry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultEntry.java?rev=1003619&r1=1003618&r2=1003619&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultEntry.java (original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultEntry.java Fri Oct 1 19:06:42 2010
@@ -2611,7 +2611,7 @@ public class DefaultEntry implements Ent
* Serialize an Entry.
*
* The structure is the following :
- * <b>[a byte] : if the DN is empty 0 will be written else 1
+ * <b>[a byte]</b> : if the DN is empty 0 will be written else 1
* <b>[RDN]</b> : The entry's RDN.
* <b>[numberAttr]</b> : the bumber of attributes. Can be 0
* <b>[attribute's oid]*</b> : The attribute's OID to get back
Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/ImmutableEntry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/ImmutableEntry.java?rev=1003619&r1=1003618&r2=1003619&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/ImmutableEntry.java (original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/ImmutableEntry.java Fri Oct 1 19:06:42 2010
@@ -695,7 +695,7 @@ public class ImmutableEntry implements E
* Serialize an Entry.
*
* The structure is the following :
- * <b>[a byte] : if the DN is empty 0 will be written else 1
+ * <b>[a byte]</b> : if the DN is empty 0 will be written else 1
* <b>[RDN]</b> : The entry's RDN.
* <b>[numberAttr]</b> : the bumber of attributes. Can be 0
* <b>[attribute's oid]*</b> : The attribute's OID to get back
Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ExprNode.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ExprNode.java?rev=1003619&r1=1003618&r2=1003619&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ExprNode.java (original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ExprNode.java Fri Oct 1 19:06:42 2010
@@ -54,15 +54,15 @@ public interface ExprNode extends Clonea
*/
boolean isLeaf();
-
+
/**
* Tells if this Node is Schema aware.
*
* @return true if the Node is SchemaAware
*/
boolean isSchemaAware();
-
-
+
+
/**
* Gets the assertion type of this node. Make it possible to use switch
* statements on the node type.
@@ -71,6 +71,7 @@ public interface ExprNode extends Clonea
*/
AssertionType getAssertionType();
+
/**
* Recursively appends the refinement string representation of this node and its
* descendants in prefix notation to a buffer.
@@ -80,11 +81,10 @@ public interface ExprNode extends Clonea
* @param buf the buffer to append to.
* @return The buffer in which the refinement has been appended
* @throws UnsupportedOperationException if this node isn't a part of a refinement.
- * @return the refinement buffer
*/
- StringBuilder printRefinementToBuffer( StringBuilder buf );
-
-
+ StringBuilder printRefinementToBuffer( StringBuilder buf ) throws UnsupportedOperationException;
+
+
/**
* Element/node accept method for visitor pattern.
*
@@ -93,11 +93,12 @@ public interface ExprNode extends Clonea
* @return the modified element
*/
Object accept( FilterVisitor visitor );
-
-
+
+
/**
- * Clone the object
- * @return
+ * Clone this expression node.
+ *
+ * @return the cloned expression node
*/
ExprNode clone();
}
Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/ExtendedRequest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/ExtendedRequest.java?rev=1003619&r1=1003618&r2=1003619&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/ExtendedRequest.java (original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/ExtendedRequest.java Fri Oct 1 19:06:42 2010
@@ -49,7 +49,7 @@ import org.apache.directory.shared.ldap.
* IDENTIFIER corresponding to the request. The requestValue is
* information in a form defined by that request, encapsulated inside an
* OCTET STRING.
- * <pre>
+ * </pre>
* <br>
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnRequest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnRequest.java?rev=1003619&r1=1003618&r2=1003619&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnRequest.java (original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnRequest.java Fri Oct 1 19:06:42 2010
@@ -115,9 +115,7 @@ public interface ModifyDnRequest extends
/**
* Gets the flag which determines if the old Rdn attribute is to be removed
* from the entry when the new Rdn is used in its stead. This property
- * corresponds to the <b>deleteoldrdn
- * </p>
- * PDU field.
+ * corresponds to the <b>deleteoldrdn</b>.
*
* @return true if the old rdn is to be deleted, false if it is not
*/
@@ -127,9 +125,7 @@ public interface ModifyDnRequest extends
/**
* Sets the flag which determines if the old Rdn attribute is to be removed
* from the entry when the new Rdn is used in its stead. This property
- * corresponds to the <b>deleteoldrdn
- * </p>
- * PDU field.
+ * corresponds to the <b>deleteoldrdn</b>.
*
* @param deleteOldRdn
* true if the old rdn is to be deleted, false if it is not
Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnRequestImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnRequestImpl.java?rev=1003619&r1=1003618&r2=1003619&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnRequestImpl.java (original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnRequestImpl.java Fri Oct 1 19:06:42 2010
@@ -86,8 +86,6 @@ public class ModifyDnRequestImpl extends
* Gets the flag which determines if the old Rdn attribute is to be removed
* from the entry when the new Rdn is used in its stead. This property
* corresponds to the <b>deleteoldrdn</b>
- * </p>
- * PDU field.
*
* @return true if the old rdn is to be deleted, false if it is not
*/
@@ -101,8 +99,6 @@ public class ModifyDnRequestImpl extends
* Sets the flag which determines if the old Rdn attribute is to be removed
* from the entry when the new Rdn is used in its stead. This property
* corresponds to the <b>deleteoldrdn</b>
- * </p>
- * PDU field.
*
* @param deleteOldRdn true if the old rdn is to be deleted, false if it is not
*/
Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyRequest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyRequest.java?rev=1003619&r1=1003618&r2=1003619&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyRequest.java (original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyRequest.java Fri Oct 1 19:06:42 2010
@@ -83,7 +83,7 @@ import org.apache.directory.shared.ldap.
* did not already exist. A replace with no value will delete
* the entire attribute if it exists, and is ignored if the
* attribute does not exist.
- * <pre>
+ * </pre>
*
* Notice that we tried to leverage as much as we already can from the JNDI.
* Both the Names and ModificationItems are used here to make the API as easy
Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/control/Control.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/control/Control.java?rev=1003619&r1=1003618&r2=1003619&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/control/Control.java (original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/control/Control.java Fri Oct 1 19:06:42 2010
@@ -37,7 +37,7 @@ public interface Control
/**
* Tells if the control is critical or not.
*
- * @return <code>true/code> if the control is critical, <code>false</code> otherwise
+ * @return <code>true</code> if the control is critical, <code>false</code> otherwise
*/
boolean isCritical();
Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/name/AVA.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/name/AVA.java?rev=1003619&r1=1003618&r2=1003619&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/name/AVA.java (original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/name/AVA.java Fri Oct 1 19:06:42 2010
@@ -698,7 +698,7 @@ public class AVA implements Cloneable, C
* <b>upName</b> The User provided ATAV
* </li>
* <li>
- * <b/>start</b> The position of this ATAV in the DN
+ * <b>start</b> The position of this ATAV in the DN
* </li>
* <li>
* <b>length</b> The ATAV length
Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/PrepareString.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/PrepareString.java?rev=1003619&r1=1003618&r2=1003619&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/PrepareString.java (original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/PrepareString.java Fri Oct 1 19:06:42 2010
@@ -102,7 +102,7 @@ public final class PrepareString
* Tells if a char is a combining mark.
*
* @param c The char to check
- * @return <code>true> if the char is a combining mark, false otherwise
+ * @return true if the char is a combining mark, false otherwise
*/
private static boolean isCombiningMark( char c )
{
Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaUtils.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaUtils.java?rev=1003619&r1=1003618&r2=1003619&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaUtils.java (original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaUtils.java Fri Oct 1 19:06:42 2010
@@ -248,7 +248,6 @@ public final class SchemaUtils
/**
* Renders QDString into a new buffer.<br>
- * <pre>
*
* @param qdescrs the quoted description strings to render
* @return the string buffer the qdescrs are rendered into
@@ -661,144 +660,6 @@ public final class SchemaUtils
/**
- * Renders an attributeType description object into a new StringBuffer
- * according to the Attribute Type Description Syntax defined in MODELS
- * 1.3.6.1.4.1.1466.115.121.1.3. The syntax is described in detail within
- * section 4.1.2. of (@TODO NEEDS TO CHANGE SINCE THIS IS NOW AN RFC) LDAPBIS [<a
- * href="http://ietf.org/internet-drafts/draft-ietf-ldapbis-models-12.txt">MODELS</a>]
- * which is replicated here for convenience:
- *
- * <pre>
- * 4.1.2. Attribute Types
- *
- * Attribute Type definitions are written according to the ABNF:
- *
- * AttributeTypeDescription = LPAREN WSP
- * numericoid ; object identifier
- * [ SP "NAME" SP qdescrs ] ; short names (descriptors)
- * [ SP "DESC" SP qdstring ] ; description
- * [ SP "OBSOLETE" ] ; not active
- * [ SP "SUP" SP oid ] ; supertype
- * [ SP "EQUALITY" SP oid ] ; equality matching rule
- * [ SP "ORDERING" SP oid ] ; ordering matching rule
- * [ SP "SUBSTR" SP oid ] ; substrings matching rule
- * [ SP "SYNTAX" SP noidlen ] ; value syntax
- * [ SP "SINGLE-VALUE" ] ; single-value
- * [ SP "COLLECTIVE" ] ; collective
- * [ SP "NO-USER-MODIFICATION" ] ; not user modifiable
- * [ SP "USAGE" SP usage ] ; usage
- * extensions WSP RPAREN ; extensions
- *
- * usage = "userApplications" / ; user
- * "directoryOperation" / ; directory operational
- * "distributedOperation" / ; DSA-shared operational
- * "dSAOperation" ; DSA-specific operational
- *
- * where:
- * <numericoid> is object identifier assigned to this attribute type;
- * NAME <qdescrs> are short names (descriptors) identifying this
- * attribute type;
- * DESC <qdstring> is a short descriptive string;
- * OBSOLETE indicates this attribute type is not active;
- * SUP oid specifies the direct supertype of this type;
- * EQUALITY, ORDERING, SUBSTR provide the oid of the equality,
- * ordering, and substrings matching rules, respectively;
- * SYNTAX identifies value syntax by object identifier and may suggest
- * a minimum upper bound;
- * SINGLE-VALUE indicates attributes of this type are restricted to a
- * single value;
- * COLLECTIVE indicates this attribute type is collective
- * [X.501][RFC3671];
- * NO-USER-MODIFICATION indicates this attribute type is not user
- * modifiable;
- * USAGE indicates the application of this attribute type; and
- * <extensions> describe extensions.
- * </pre>
- * @param attributeType the AttributeTypeDescription to render the description for
- * @return the StringBuffer containing the rendered attributeType description
- * @throws LdapException if there are problems accessing the objects
- * associated with the attribute type.
- *
- public static StringBuffer render( AttributeType attributeType )
- {
- StringBuffer buf = new StringBuffer();
- buf.append( "( " ).append( attributeType.getOid() );
-
- if ( attributeType.getNames() != null && attributeType.getNames().size() > 0 )
- {
- buf.append( " NAME " );
- render( buf, attributeType.getNames() ).append( " " );
- }
- else
- {
- buf.append( " " );
- }
-
- if ( attributeType.getDescription() != null )
- {
- buf.append( "DESC " ).append( "'" ).append( attributeType.getDescription() ).append( "' " );
- }
-
- if ( attributeType.isObsolete() )
- {
- buf.append( " OBSOLETE" );
- }
-
- if ( attributeType.getSupOid() != null )
- {
- buf.append( " SUP " ).append( attributeType.getSupOid() );
- }
-
- if ( attributeType.getEqualityOid() != null )
- {
- buf.append( " EQUALITY " ).append( attributeType.getEqualityOid() );
- }
-
- if ( attributeType.getOrderingOid() != null )
- {
- buf.append( " ORDERING " ).append( attributeType.getOrderingOid() );
- }
-
- if ( attributeType.getSubstrOid() != null )
- {
- buf.append( " SUBSTR " ).append( attributeType.getSubstrOid() );
- }
-
- if ( attributeType.getSyntax() != null )
- {
- buf.append( " SYNTAX " ).append( attributeType.getSyntax() );
-
- if ( attributeType.getLength() > 0 )
- {
- buf.append( "{" ).append( attributeType.getLength() ).append( "}" );
- }
- }
-
- if ( attributeType.isSingleValue() )
- {
- buf.append( " SINGLE-VALUE" );
- }
-
- if ( attributeType.isCollective() )
- {
- buf.append( " COLLECTIVE" );
- }
-
- if ( !attributeType.isCanUserModify() )
- {
- buf.append( " NO-USER-MODIFICATION" );
- }
-
- if ( attributeType.getUsage() != null )
- {
- buf.append( " USAGE " ).append( UsageEnum.render( attributeType.getUsage() ) );
- }
-
- return buf.append( render( attributeType.getExtensions() ) ).append( ")" );
- }
-
-
- /**
* Renders the schema extensions into a new StringBuffer.
*
* @param extensions the schema extensions map with key and values
Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/normalizers/GeneralizedTimeNormalizer.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/normalizers/GeneralizedTimeNormalizer.java?rev=1003619&r1=1003618&r2=1003619&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/normalizers/GeneralizedTimeNormalizer.java (original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/normalizers/GeneralizedTimeNormalizer.java Fri Oct 1 19:06:42 2010
@@ -40,7 +40,7 @@ import org.apache.directory.shared.ldap.
/**
* Normalizer which normalize a time following those rules :
- * </ul>
+ * <ul>
* <li>if minutes are ommited, then they are replaced by 00</li>
* <li>if seconds are ommited, then they are replaced by 00</li>
* <li>if fraction is 0 or omitted, it is replaced by 000</li>
Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/AttributeUtils.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/AttributeUtils.java?rev=1003619&r1=1003618&r2=1003619&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/AttributeUtils.java (original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/AttributeUtils.java Fri Oct 1 19:06:42 2010
@@ -252,7 +252,7 @@ public final class AttributeUtils
* @param attr The attribute we are searching in
* @param compared The object we are looking for
* @param type The attribute type
- * @return <code>true</code> if the value exists in the attribute</code>
+ * @return <code>true</code> if the value exists in the attribute
* @throws LdapException If something went wrong while accessing the data
*/
public static boolean containsValue( Attribute attr, Value<?> compared, AttributeType type ) throws LdapException
Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/DummySSLSocketFactory.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/DummySSLSocketFactory.java?rev=1003619&r1=1003618&r2=1003619&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/DummySSLSocketFactory.java (original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/DummySSLSocketFactory.java Fri Oct 1 19:06:42 2010
@@ -143,7 +143,7 @@ public class DummySSLSocketFactory exten
/**
* @see javax.net.SocketFactory#createSocket(java.lang.String, int)
*/
- public Socket createSocket( String arg0, int arg1 ) throws IOException, UnknownHostException
+ public Socket createSocket( String arg0, int arg1 ) throws IOException
{
try
{
@@ -177,8 +177,7 @@ public class DummySSLSocketFactory exten
/**
* @see javax.net.SocketFactory#createSocket(java.lang.String, int, java.net.InetAddress, int)
*/
- public Socket createSocket( String arg0, int arg1, InetAddress arg2, int arg3 ) throws IOException,
- UnknownHostException
+ public Socket createSocket( String arg0, int arg1, InetAddress arg2, int arg3 ) throws IOException
{
try
{
Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/StringTools.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/StringTools.java?rev=1003619&r1=1003618&r2=1003619&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/StringTools.java (original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/StringTools.java Fri Oct 1 19:06:42 2010
@@ -662,7 +662,7 @@ public final class StringTools
public static final byte[] toByteArray( String hexString )
{
int arrLength = hexString.length() >> 1;
- byte buf[] = new byte[arrLength];
+ byte [] buf = new byte[arrLength];
for ( int ii = 0; ii < arrLength; ii++ )
{