mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
03.05.2012 41e72531b209b74571589296a3a33354eb2a1c39
opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/ByteSequence.java
@@ -23,7 +23,7 @@
 *
 *
 *      Copyright 2009 Sun Microsystems, Inc.
 *      Portions copyright 2011 ForgeRock AS
 *      Portions copyright 2011-2012 ForgeRock AS
 */
package org.forgerock.opendj.ldap;
@@ -68,7 +68,7 @@
   * @throws IndexOutOfBoundsException
   *           If the index argument is negative or not less than length().
   */
  byte byteAt(int index) throws IndexOutOfBoundsException;
  byte byteAt(int index);
@@ -94,8 +94,7 @@
   *           If {@code offset} is negative or if {@code length} is negative or
   *           if {@code offset + length} is greater than {@code bytes.length}.
   */
  int compareTo(byte[] bytes, int offset, int length)
      throws IndexOutOfBoundsException;
  int compareTo(byte[] bytes, int offset, int length);
@@ -173,7 +172,7 @@
   * @throws IndexOutOfBoundsException
   *           If {@code offset} is negative.
   */
  byte[] copyTo(byte[] bytes, int offset) throws IndexOutOfBoundsException;
  byte[] copyTo(byte[] bytes, int offset);
@@ -223,8 +222,7 @@
   *           If {@code offset} is negative or if {@code length} is negative or
   *           if {@code offset + length} is greater than {@code bytes.length}.
   */
  boolean equals(byte[] bytes, int offset, int length)
      throws IndexOutOfBoundsException;
  boolean equals(byte[] bytes, int offset, int length);
@@ -283,7 +281,7 @@
   *           greater than {@code length()}, or if {@code start} is greater
   *           than {@code end}.
   */
  ByteSequence subSequence(int start, int end) throws IndexOutOfBoundsException;
  ByteSequence subSequence(int start, int end);