From 992e7cf6c8cb1a83c23f2499efe06856ca8b59c4 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Fri, 10 May 2019 08:58:17 -0400 Subject: [PATCH] - Javadoc. - checkstyle.version 8.18 -> 8.20. - [LANG-1458] Add EMPTY_ARRAY constants to classes in org.apache.commons.lang3.tuple --- checkstyle.xml | 3 +-- pom.xml | 2 +- src/changes/changes.xml | 1 + .../java/org/apache/commons/lang3/tuple/ImmutablePair.java | 2 ++ .../java/org/apache/commons/lang3/tuple/ImmutableTriple.java | 3 +++ src/main/java/org/apache/commons/lang3/tuple/MutablePair.java | 2 ++ .../java/org/apache/commons/lang3/tuple/MutableTriple.java | 3 +++ 7 files changed, 13 insertions(+), 3 deletions(-) diff --git a/checkstyle.xml b/checkstyle.xml index eda9e1d9a..0adaecc1e 100644 --- a/checkstyle.xml +++ b/checkstyle.xml @@ -20,7 +20,7 @@ limitations under the License. "-//Puppy Crawl//DTD Check Configuration 1.1//EN" "http://www.puppycrawl.com/dtds/configuration_1_1.dtd"> - + @@ -39,7 +39,6 @@ limitations under the License. - diff --git a/pom.xml b/pom.xml index 410e11c36..2010bba76 100644 --- a/pom.xml +++ b/pom.xml @@ -597,7 +597,7 @@ utf-8 3.0.0 - 8.18 + 8.20 3.1.11 false diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 56f724af4..4650f69c3 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -49,6 +49,7 @@ The type attribute can be add,update,fix,remove. Generate javadoc jar on build. Add ExceptionUtils.throwableOfType(Throwable, Class) and friends. Add EMPTY_ARRAY constants to classes in org.apache.commons.lang3.tuple. + checkstyle.version 8.18 -> 8.20. 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 30478da37..39d1effb3 100644 --- a/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java +++ b/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java @@ -46,6 +46,8 @@ public final class ImmutablePair extends Pair { /** * Returns the empty array singleton that can be assigned without compiler warning. * + * @param the left element type + * @param the right element type * @return the empty array singleton that can be assigned without compiler warning. * * @since 3.10. 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 1453dd565..b35234030 100644 --- a/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java +++ b/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java @@ -47,6 +47,9 @@ public final class ImmutableTriple extends Triple { /** * Returns the empty array singleton that can be assigned without compiler warning. * + * @param the left element type + * @param the middle element type + * @param the right element type * @return the empty array singleton that can be assigned without compiler warning. * * @since 3.10. diff --git a/src/main/java/org/apache/commons/lang3/tuple/MutablePair.java b/src/main/java/org/apache/commons/lang3/tuple/MutablePair.java index c377e809b..d0e06d938 100644 --- a/src/main/java/org/apache/commons/lang3/tuple/MutablePair.java +++ b/src/main/java/org/apache/commons/lang3/tuple/MutablePair.java @@ -41,6 +41,8 @@ public class MutablePair extends Pair { /** * Returns the empty array singleton that can be assigned without compiler warning. * + * @param the left element type + * @param the right element type * @return the empty array singleton that can be assigned without compiler warning. * * @since 3.10. diff --git a/src/main/java/org/apache/commons/lang3/tuple/MutableTriple.java b/src/main/java/org/apache/commons/lang3/tuple/MutableTriple.java index 4a8fe38d6..15db8b9e4 100644 --- a/src/main/java/org/apache/commons/lang3/tuple/MutableTriple.java +++ b/src/main/java/org/apache/commons/lang3/tuple/MutableTriple.java @@ -42,6 +42,9 @@ public class MutableTriple extends Triple { /** * Returns the empty array singleton that can be assigned without compiler warning. * + * @param the left element type + * @param the middle element type + * @param the right element type * @return the empty array singleton that can be assigned without compiler warning. * * @since 3.10.