- Javadoc.

- checkstyle.version 8.18 -> 8.20.
- [LANG-1458] Add EMPTY_ARRAY constants to classes in
org.apache.commons.lang3.tuple
This commit is contained in:
Gary Gregory 2019-05-10 08:58:17 -04:00
parent 90c736c3a0
commit 992e7cf6c8
7 changed files with 13 additions and 3 deletions

View File

@ -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">
<!-- commons lang customization of default Checkstyle behavior -->
<!-- Apache Commons Lang customization of default Checkstyle behavior -->
<module name="Checker">
<property name="localeLanguage" value="en"/>
<module name="JavadocPackage"/>
@ -39,7 +39,6 @@ limitations under the License.
<property name="file" value="checkstyle-suppressions.xml"/>
</module>
<module name="TreeWalker">
<property name="cacheFile" value="target/cachefile"/>
<module name="AvoidStarImport"/>
<module name="IllegalImport"/>
<module name="RedundantImport"/>

View File

@ -597,7 +597,7 @@
<commons.encoding>utf-8</commons.encoding>
<checkstyle.plugin.version>3.0.0</checkstyle.plugin.version>
<checkstyle.version>8.18</checkstyle.version>
<checkstyle.version>8.20</checkstyle.version>
<spotbugs.plugin.version>3.1.11</spotbugs.plugin.version>
<japicmp.skip>false</japicmp.skip>

View File

@ -49,6 +49,7 @@ The <action> type attribute can be add,update,fix,remove.
<action issue="LANG-1450" type="fix" dev="chtompki">Generate javadoc jar on build.</action>
<action issue="LANG-1457" type="add" dev="ggregory">Add ExceptionUtils.throwableOfType(Throwable, Class) and friends.</action>
<action issue="LANG-1458" type="add" dev="ggregory">Add EMPTY_ARRAY constants to classes in org.apache.commons.lang3.tuple.</action>
<action type="update" dev="ggregory">checkstyle.version 8.18 -> 8.20.</action>
</release>
<release version="3.9" date="2019-04-09" description="New features and bug fixes. Requires Java 8, supports Java 9, 10, 11">

View File

@ -46,6 +46,8 @@ public final class ImmutablePair<L, R> extends Pair<L, R> {
/**
* Returns the empty array singleton that can be assigned without compiler warning.
*
* @param <L> the left element type
* @param <R> the right element type
* @return the empty array singleton that can be assigned without compiler warning.
*
* @since 3.10.

View File

@ -47,6 +47,9 @@ public final class ImmutableTriple<L, M, R> extends Triple<L, M, R> {
/**
* Returns the empty array singleton that can be assigned without compiler warning.
*
* @param <L> the left element type
* @param <M> the middle element type
* @param <R> the right element type
* @return the empty array singleton that can be assigned without compiler warning.
*
* @since 3.10.

View File

@ -41,6 +41,8 @@ public class MutablePair<L, R> extends Pair<L, R> {
/**
* Returns the empty array singleton that can be assigned without compiler warning.
*
* @param <L> the left element type
* @param <R> the right element type
* @return the empty array singleton that can be assigned without compiler warning.
*
* @since 3.10.

View File

@ -42,6 +42,9 @@ public class MutableTriple<L, M, R> extends Triple<L, M, R> {
/**
* Returns the empty array singleton that can be assigned without compiler warning.
*
* @param <L> the left element type
* @param <M> the middle element type
* @param <R> the right element type
* @return the empty array singleton that can be assigned without compiler warning.
*
* @since 3.10.