This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push: new 46a081d Javadocs, imports. 46a081d is described below commit 46a081d69c27f0c57ee633489baa62b01d9b3cc2 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri Jun 26 10:33:37 2020 -0400 Javadocs, imports. --- .../lang3/{function => concurrent/lock}/package-info.java | 12 ++++-------- .../java/org/apache/commons/lang3/function/package-info.java | 1 + .../org/apache/commons/lang3/concurrent/lock/LocksTest.java | 1 - 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/main/java/org/apache/commons/lang3/function/package-info.java b/src/main/java/org/apache/commons/lang3/concurrent/lock/package-info.java similarity index 62% copy from src/main/java/org/apache/commons/lang3/function/package-info.java copy to src/main/java/org/apache/commons/lang3/concurrent/lock/package-info.java index 4a0ccd9..4b6f9b8 100644 --- a/src/main/java/org/apache/commons/lang3/function/package-info.java +++ b/src/main/java/org/apache/commons/lang3/concurrent/lock/package-info.java @@ -15,14 +15,10 @@ * limitations under the License. */ /** - * Provides functional interfaces to complement those in {@code java.lang.function} and utilities for working with Java - * 8 lambdas. - * * <p> - * Contains failable functional interfaces that address the fact that lambdas are supposed not to throw Exceptions, at - * least not checked Exceptions, A.K.A. instances of {@link java.lang.Exception}. A failable functional interface - * declares a type of Exception that may be raised if the function fails. - * + * Provides support classes for multi-threaded programming. This package is intended to be an extension to + * {@link java.util.concurrent.lock}. + * </p> * @since 3.11 */ -package org.apache.commons.lang3.function; +package org.apache.commons.lang3.concurrent.lock; diff --git a/src/main/java/org/apache/commons/lang3/function/package-info.java b/src/main/java/org/apache/commons/lang3/function/package-info.java index 4a0ccd9..330e7c7 100644 --- a/src/main/java/org/apache/commons/lang3/function/package-info.java +++ b/src/main/java/org/apache/commons/lang3/function/package-info.java @@ -22,6 +22,7 @@ * Contains failable functional interfaces that address the fact that lambdas are supposed not to throw Exceptions, at * least not checked Exceptions, A.K.A. instances of {@link java.lang.Exception}. A failable functional interface * declares a type of Exception that may be raised if the function fails. + * </p> * * @since 3.11 */ diff --git a/src/test/java/org/apache/commons/lang3/concurrent/lock/LocksTest.java b/src/test/java/org/apache/commons/lang3/concurrent/lock/LocksTest.java index 8e475fb..2f15db4 100644 --- a/src/test/java/org/apache/commons/lang3/concurrent/lock/LocksTest.java +++ b/src/test/java/org/apache/commons/lang3/concurrent/lock/LocksTest.java @@ -24,7 +24,6 @@ import static org.junit.jupiter.api.Assertions.fail; import java.util.function.LongConsumer; -import org.apache.commons.lang3.concurrent.lock.Locks; import org.apache.commons.lang3.concurrent.lock.Locks.Lock; import org.apache.commons.lang3.function.FailableConsumer; import org.junit.jupiter.api.Test;