Reverted back, modules are unusable

This commit is contained in:
Andrea Cavalli 2020-10-16 19:50:30 +02:00
parent ac166bfba9
commit c1a8a23961
3 changed files with 15 additions and 16 deletions

15
pom.xml
View File

@ -50,21 +50,15 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>28.2-jre</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>it.unimi.dsi</groupId>
<artifactId>fastutil</artifactId>
<version>8.3.0</version>
<version>8.3.1</version>
</dependency>
<dependency>
<groupId>it.cavallium</groupId>
<artifactId>concurrent-locks</artifactId>
<version>1.0.5</version>
<version>1.0.8</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
@ -77,6 +71,11 @@
<version>20.1.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>29.0-jre</version>
</dependency>
</dependencies>

View File

@ -1,15 +1,15 @@
package org.warp.commonutils.concurrency.executor;
import java.util.concurrent.Callable;
import javax.annotation.Nonnull;
import org.jetbrains.annotations.NotNull;
public final class PermitReleasingCallableDecorator<T> extends CallableDecorator<T> {
@Nonnull
@NotNull
private final QueueSizeUpdater queueSizeUpdater;
PermitReleasingCallableDecorator(@Nonnull final Callable<T> task,
@Nonnull final QueueSizeUpdater queueSizeUpdater) {
PermitReleasingCallableDecorator(@NotNull final Callable<T> task,
@NotNull final QueueSizeUpdater queueSizeUpdater) {
super(task);
this.queueSizeUpdater = queueSizeUpdater;
}

View File

@ -1,13 +1,13 @@
package org.warp.commonutils.concurrency.executor;
import javax.annotation.Nonnull;
import org.jetbrains.annotations.NotNull;
public final class PermitReleasingRunnableDecorator extends RunnableDecorator {
@Nonnull
@NotNull
private final QueueSizeUpdater queueSizeUpdater;
PermitReleasingRunnableDecorator(@Nonnull final Runnable task,
@Nonnull final QueueSizeUpdater queueSizeUpdater) {
PermitReleasingRunnableDecorator(@NotNull final Runnable task,
@NotNull final QueueSizeUpdater queueSizeUpdater) {
super(task);
this.queueSizeUpdater = queueSizeUpdater;
}