Changing appendAll and appendWithSeparators methods to take Iterable instead of Collection. LANG-548 - part two, change Javadoc references

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@890336 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2009-12-14 14:10:55 +00:00
parent 62a047cc69
commit a05e28d6e2
1 changed files with 4 additions and 5 deletions

View File

@ -18,7 +18,6 @@
import java.io.Reader;
import java.io.Writer;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
@ -1090,7 +1089,7 @@ public StrBuilder appendWithSeparators(Iterator<?> it, String separator) {
* }
* </pre>
* Note that for this simple example, you should use
* {@link #appendWithSeparators(Collection, String)}.
* {@link #appendWithSeparators(Iterable, String)}.
*
* @param separator the separator to use, null means no separator
* @return this, to enable chaining
@ -1148,7 +1147,7 @@ public StrBuilder appendSeparator(String standard, String defaultIfEmpty) {
* }
* </pre>
* Note that for this simple example, you should use
* {@link #appendWithSeparators(Collection, String)}.
* {@link #appendWithSeparators(Iterable, String)}.
*
* @param separator the separator to use
* @return this, to enable chaining
@ -1195,7 +1194,7 @@ public StrBuilder appendSeparator(char standard, char defaultIfEmpty) {
* }
* </pre>
* Note that for this simple example, you should use
* {@link #appendWithSeparators(Collection, String)}.
* {@link #appendWithSeparators(Iterable, String)}.
*
* @param separator the separator to use, null means no separator
* @param loopIndex the loop index
@ -1222,7 +1221,7 @@ public StrBuilder appendSeparator(String separator, int loopIndex) {
* }
* </pre>
* Note that for this simple example, you should use
* {@link #appendWithSeparators(Collection, String)}.
* {@link #appendWithSeparators(Iterable, String)}.
*
* @param separator the separator to use
* @param loopIndex the loop index