Author: scolebourne Date: Wed May 25 15:43:04 2011 New Revision: 1127563 URL: http://svn.apache.org/viewvc?rev=1127563&view=rev Log: Javadoc fix
Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/tuple/Pair.java Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/tuple/Pair.java URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/tuple/Pair.java?rev=1127563&r1=1127562&r2=1127563&view=diff ============================================================================== --- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/tuple/Pair.java (original) +++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/tuple/Pair.java Wed May 25 15:43:04 2011 @@ -163,11 +163,11 @@ public abstract class Pair<L, R> impleme * <p>Formats the receiver using the given format.</p> * * <p>This uses {@link Formattable} to perform the formatting. Two variables may - * be used to embed the left and right elements. Use {@code %1$} for the left - * element (key) and {@code %2$} for the right element (value). + * be used to embed the left and right elements. Use {@code %1$s} for the left + * element (key) and {@code %2$s} for the right element (value). * The default format used by {@code toString()} is {@code (%1$s,%2$s)}.</p> * - * @param format the format string, optionally containing {@code %1$} and {@code %2$}, not null + * @param format the format string, optionally containing {@code %1$s} and {@code %2$s}, not null * @return the formatted string, not null */ public String toString(String format) {