commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1083201 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/Pair.java
Date Sat, 19 Mar 2011 16:01:48 GMT
Author: oheger
Date: Sat Mar 19 16:01:48 2011
New Revision: 1083201

URL: http://svn.apache.org/viewvc?rev=1083201&view=rev
Log:
Checkstyle and trailing spaces.

Modified:
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/Pair.java

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/Pair.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/Pair.java?rev=1083201&r1=1083200&r2=1083201&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/Pair.java (original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/Pair.java Sat Mar 19
16:01:48 2011
@@ -23,7 +23,7 @@ import org.apache.commons.lang3.builder.
 
 /**
  * Abstract Pair (or 2-element Tuple).
- * 
+ *
  * @since Lang 3.0
  * @author Matt Benson
  * @version $Id$
@@ -88,6 +88,7 @@ public abstract class Pair<L, R> impleme
 
     /**
      * Returns a String representation of the Pair in the form: (L,R)
+     * @return a string for this object
      */
     @Override
     public String toString() {
@@ -103,10 +104,10 @@ public abstract class Pair<L, R> impleme
     /**
      * Static fluent creation method for a {@link Pair}<L, R>:
      * <code>Pair.of(left, right)</code>
-     * @param <L>
-     * @param <R>
-     * @param left
-     * @param right
+     * @param <L> the left generic type
+     * @param <R> the right generic type
+     * @param left the left value
+     * @param right the right value
      * @return ImmutablePair<L, R>(left, right)
      */
     public static <L, R> Pair<L, R> of(L left, R right) {



Mime
View raw message