JRE locks live in a ...concurrent.lock package so let's put our lock
code in our own ...concurrent.lock
This commit is contained in:
parent
eee51821a8
commit
d18fb1abdf
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.lang3.concurrent;
|
||||
package org.apache.commons.lang3.concurrent.lock;
|
||||
|
||||
import java.util.Objects;
|
||||
import java.util.concurrent.locks.StampedLock;
|
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.lang3.concurrent;
|
||||
package org.apache.commons.lang3.concurrent.lock;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
import static org.junit.jupiter.api.Assertions.assertNotNull;
|
||||
|
@ -24,7 +24,8 @@ import static org.junit.jupiter.api.Assertions.fail;
|
|||
|
||||
import java.util.function.LongConsumer;
|
||||
|
||||
import org.apache.commons.lang3.concurrent.Locks.Lock;
|
||||
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;
|
||||
|
Loading…
Reference in New Issue