Javadocs, imports.

This commit is contained in:
Gary Gregory 2020-06-26 10:33:37 -04:00
parent d18fb1abdf
commit 46a081d69c
3 changed files with 25 additions and 1 deletions

View File

@ -0,0 +1,24 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* <p>
* 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.concurrent.lock;

View File

@ -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
*/

View File

@ -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;