Skip to content

Commit

Permalink
Remove bogus synchronization annotation
Browse files Browse the repository at this point in the history
There is no explicit synchronization in the code.
  • Loading branch information
findepi committed Mar 22, 2024
1 parent 072bfe4 commit d5d4cc8
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import com.google.common.cache.CacheBuilder;
import com.google.common.cache.RemovalNotification;
import com.google.errorprone.annotations.ThreadSafe;
import com.google.errorprone.annotations.concurrent.GuardedBy;
import com.google.inject.Inject;
import io.airlift.log.Logger;
import io.trino.spi.TrinoException;
Expand All @@ -39,7 +38,6 @@ public final class ReusableConnectionFactory
{
private static final Logger log = Logger.get(ReusableConnectionFactory.class);

@GuardedBy("this")
private final Cache<String, Connection> connections;
private final ConnectionFactory delegate;

Expand Down

0 comments on commit d5d4cc8

Please sign in to comment.