From 8c160ba0ce3b8594688bbc5d574c3e2c4866b519 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 20 May 2011 13:18:44 +0000
Subject: [PATCH] Fix Javadoc warnings.
---
opendj3/opendj-sdk/src/main/java/com/sun/opends/sdk/util/SubstringReader.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opendj3/opendj-sdk/src/main/java/com/sun/opends/sdk/util/SubstringReader.java b/opendj3/opendj-sdk/src/main/java/com/sun/opends/sdk/util/SubstringReader.java
index c3d7580..95d34c3 100644
--- a/opendj3/opendj-sdk/src/main/java/com/sun/opends/sdk/util/SubstringReader.java
+++ b/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)
{
--
Gitblit v1.10.0