3 Commits

Author SHA1 Message Date
df2ccd62f3 Remove unnecessary synchronization 2018-08-08 18:05:56 +02:00
8dd9640c05 Snapshots for 1.12.1 2018-07-29 15:52:22 +02:00
93f097ee4a Release 1.12 2018-07-29 15:51:53 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
<groupId>de.diddiz</groupId>
<artifactId>logblock</artifactId>
<version>1.12-SNAPSHOT</version>
<version>1.12.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>LogBlock</name>

View File

@ -559,7 +559,7 @@ public class Consumer extends TimerTask {
}
@Override
public synchronized void run() {
public void run() {
if (queue.isEmpty() || !lock.tryLock()) {
return;
}