Update Gradle configuration

This commit is contained in:
Sergey Solovyev
2018-04-29 19:04:13 +02:00
parent f41a37fe31
commit 68cded37d9
29 changed files with 180 additions and 188 deletions

View File

@@ -24,7 +24,6 @@ public class FixedCapacityListMessageRegistry implements MessageRegistry {
this.messages = new ArrayList<Message>(capacity);
}
@edu.umd.cs.findbugs.annotations.SuppressWarnings(value = {"VO_VOLATILE_INCREMENT"}, justification = "NotThreadSafe - outer synchronization")
public void addMessage(@Nonnull Message message) {
if (!this.messages.contains(message)) {
if (this.size <= this.capacity) {
@@ -37,7 +36,6 @@ public class FixedCapacityListMessageRegistry implements MessageRegistry {
}
}
@edu.umd.cs.findbugs.annotations.SuppressWarnings(value = {"VO_VOLATILE_INCREMENT"}, justification = "NotThreadSafe - outer synchronization")
@Nonnull
public Message getMessage() {
if (hasMessage()) {