From 755f09a31ff731faba9564b423b961fc3e133638 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Mon, 27 Aug 2007 15:38:14 +0000
Subject: [PATCH] Removed {@inheritDoc} tags from messages package method declarations that inherit directly from Java core methods and replaced them with comments derived in most part from the parent methods
---
opendj-sdk/opends/src/messages/src/org/opends/messages/MessageBuilder.java | 44 +++++++++++++++++++++++++++++++++++++++++---
1 files changed, 41 insertions(+), 3 deletions(-)
diff --git a/opendj-sdk/opends/src/messages/src/org/opends/messages/MessageBuilder.java b/opendj-sdk/opends/src/messages/src/org/opends/messages/MessageBuilder.java
index 0b4f5de..418576f 100644
--- a/opendj-sdk/opends/src/messages/src/org/opends/messages/MessageBuilder.java
+++ b/opendj-sdk/opends/src/messages/src/org/opends/messages/MessageBuilder.java
@@ -170,22 +170,60 @@
}
/**
- * {@inheritDoc}
+ * Appends a subsequence of the specified character sequence to this
+ * <tt>Appendable</tt>.
+ *
+ * <p> An invocation of this method of the form <tt>out.append(csq, start,
+ * end)</tt> when <tt>csq</tt> is not <tt>null</tt>, behaves in
+ * exactly the same way as the invocation
+ *
+ * <pre>
+ * out.append(csq.subSequence(start, end)) </pre>
+ *
+ * @param csq
+ * The character sequence from which a subsequence will be
+ * appended. If <tt>csq</tt> is <tt>null</tt>, then characters
+ * will be appended as if <tt>csq</tt> contained the four
+ * characters <tt>"null"</tt>.
+ *
+ * @param start
+ * The index of the first character in the subsequence
+ *
+ * @param end
+ * The index of the character following the last character in the
+ * subsequence
+ *
+ * @return A reference to this <tt>Appendable</tt>
+ *
+ * @throws IndexOutOfBoundsException
+ * If <tt>start</tt> or <tt>end</tt> are negative, <tt>start</tt>
+ * is greater than <tt>end</tt>, or <tt>end</tt> is greater than
+ * <tt>csq.length()</tt>
*/
public MessageBuilder append(CharSequence csq, int start, int end)
+ throws IndexOutOfBoundsException
{
return append(csq.subSequence(start, end));
}
/**
- * {@inheritDoc}
+ * Appends the specified character to this <tt>Appendable</tt>.
+ *
+ * @param c
+ * The character to append
+ *
+ * @return A reference to this <tt>Appendable</tt>
*/
public MessageBuilder append(char c) {
return append(String.valueOf(c));
}
/**
- * {@inheritDoc}
+ * Returns a string containing the characters in this sequence in the same
+ * order as this sequence. The length of the string will be the length of
+ * this sequence.
+ *
+ * @return a string consisting of exactly this sequence of characters
*/
public String toString() {
return sb.toString();
--
Gitblit v1.10.0