diff --git a/android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java b/android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java index 421131e273..7b6e736a0d 100644 --- a/android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java +++ b/android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java @@ -320,12 +320,6 @@ public final class ExecutionSequencer { this.sequencer = sequencer; } - /* - * We compare two Thread instances with ==: For concurrency correctness, we need to know whether - * they are actually the same thread, even if they are instances of some user subclass that - * overrides Thread.equals. - */ - @SuppressWarnings("ReferenceEquality") @Override public void execute(Runnable task) { // If this operation was successfully cancelled already, calling the runnable will be a noop. @@ -398,15 +392,7 @@ public final class ExecutionSequencer { } } - @SuppressWarnings({ - "ShortCircuitBoolean", - /* - * We compare two Thread instances with ==: For concurrency correctness, we need to know - * whether they are actually the same thread, even if they are instances of some user subclass - * that overrides Thread.equals. - */ - "ReferenceEquality", - }) + @SuppressWarnings("ShortCircuitBoolean") @Override public void run() { Thread currentThread = Thread.currentThread(); diff --git a/android/pom.xml b/android/pom.xml index 8cc23470d8..83bbbd8e8b 100644 --- a/android/pom.xml +++ b/android/pom.xml @@ -59,8 +59,8 @@ 3.6.2 1.0-beta-3 0.11.0 - 2.50.0 - 2.50.0 + 2.51.0 + 2.51.0 3.5.0 1.0.3 0.15.0 diff --git a/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java b/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java index 421131e273..7b6e736a0d 100644 --- a/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java +++ b/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java @@ -320,12 +320,6 @@ public final class ExecutionSequencer { this.sequencer = sequencer; } - /* - * We compare two Thread instances with ==: For concurrency correctness, we need to know whether - * they are actually the same thread, even if they are instances of some user subclass that - * overrides Thread.equals. - */ - @SuppressWarnings("ReferenceEquality") @Override public void execute(Runnable task) { // If this operation was successfully cancelled already, calling the runnable will be a noop. @@ -398,15 +392,7 @@ public final class ExecutionSequencer { } } - @SuppressWarnings({ - "ShortCircuitBoolean", - /* - * We compare two Thread instances with ==: For concurrency correctness, we need to know - * whether they are actually the same thread, even if they are instances of some user subclass - * that overrides Thread.equals. - */ - "ReferenceEquality", - }) + @SuppressWarnings("ShortCircuitBoolean") @Override public void run() { Thread currentThread = Thread.currentThread(); diff --git a/pom.xml b/pom.xml index 1710dcb7c7..583b26be27 100644 --- a/pom.xml +++ b/pom.xml @@ -60,8 +60,8 @@ 3.6.2 1.0-beta-3 0.11.0 - 2.50.0 - 2.50.0 + 2.51.0 + 2.51.0 3.5.0 1.0.3 0.15.0