You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2017/05/17 15:04:28 UTC

[44/50] [lang] Add missing JavaDocs to make Checkstyle happy

Add missing JavaDocs to make Checkstyle happy


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/5a87fa17
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/5a87fa17
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/5a87fa17

Branch: refs/heads/release
Commit: 5a87fa172eb1368fe413af34511d1eb3f2674a9f
Parents: 585b1cb
Author: Benedikt Ritter <br...@apache.org>
Authored: Wed May 17 10:14:07 2017 -0400
Committer: Benedikt Ritter <br...@apache.org>
Committed: Wed May 17 10:14:07 2017 -0400

----------------------------------------------------------------------
 .../java/org/apache/commons/lang3/tuple/ImmutablePair.java   | 8 +++++---
 .../java/org/apache/commons/lang3/tuple/ImmutableTriple.java | 7 +++++--
 2 files changed, 10 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/5a87fa17/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java b/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java
index 85409fe..3df3a7f 100644
--- a/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java
+++ b/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java
@@ -43,10 +43,12 @@ public final class ImmutablePair<L, R> extends Pair<L, R> {
     /** Serialization version */
     private static final long serialVersionUID = 4954918890077093841L;
 
-    /** 
+    /**
      * Returns an immutable pair of nulls.
-     * 
-     * @return an immutable pair of nulls. 
+     *
+     * @param <L> the left element of this pair. Value is {@code null}.
+     * @param <R> the right element of this pair. Value is {@code null}.
+     * @return an immutable pair of nulls.
      * @since 3.6
      */
     @SuppressWarnings("unchecked")

http://git-wip-us.apache.org/repos/asf/commons-lang/blob/5a87fa17/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java b/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java
index 49f5746..83e212e 100644
--- a/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java
+++ b/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java
@@ -44,9 +44,12 @@ public final class ImmutableTriple<L, M, R> extends Triple<L, M, R> {
     /** Serialization version */
     private static final long serialVersionUID = 1L;
 
-    /** 
+    /**
      * Returns an immutable triple of nulls.
-     * 
+     *
+     * @param <L> the left element of this triple. Value is {@code null}.
+     * @param <M> the middle element of this triple. Value is {@code null}.
+     * @param <R> the right element of this triple. Value is {@code null}.
      * @return an immutable triple of nulls. 
      * @since 3.6
      */