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

Matthew Swift
20.18.2011 8c160ba0ce3b8594688bbc5d574c3e2c4866b519
Fix Javadoc warnings.
1 files modified
8 ■■■■ changed files
opendj3/opendj-sdk/src/main/java/com/sun/opends/sdk/util/SubstringReader.java 8 ●●●● patch | view | raw | blame | history
opendj3/opendj-sdk/src/main/java/com/sun/opends/sdk/util/SubstringReader.java
@@ -103,10 +103,10 @@
   * position.
   *
   * @return The character at the current position.
   * @Exception StringIndexOutOfBoundsException if there is no more data
   * @throws StringIndexOutOfBoundsException If there is no more data
   *            available to read.
   */
  public char read()
  public char read() throws StringIndexOutOfBoundsException
  {
    if (pos >= length)
    {
@@ -126,10 +126,10 @@
   * @param length
   *          The number of characters to read.
   * @return The substring.
   * @Exception StringIndexOutOfBoundsException if the length exceeds the
   * @throws StringIndexOutOfBoundsException If the length exceeds the
   *            allowed length.
   */
  public String read(final int length)
  public String read(final int length) throws StringIndexOutOfBoundsException
  {
    if (length > this.length || pos + length > this.length)
    {