Skip to content

Commit

Permalink
Make testSupplierThreadSafe private.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 444854646
  • Loading branch information
java-team-github-bot authored and Google Java Core Libraries committed Apr 27, 2022
1 parent acb004c commit 69332c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ public Supplier<Boolean> apply(Supplier<Boolean> supplier) {
}

@GwtIncompatible // Thread
public void testSupplierThreadSafe(Function<Supplier<Boolean>, Supplier<Boolean>> memoizer)
private void testSupplierThreadSafe(Function<Supplier<Boolean>, Supplier<Boolean>> memoizer)
throws Throwable {
final AtomicInteger count = new AtomicInteger(0);
final AtomicReference<Throwable> thrown = new AtomicReference<>(null);
Expand Down
2 changes: 1 addition & 1 deletion guava-tests/test/com/google/common/base/SuppliersTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ public Supplier<Boolean> apply(Supplier<Boolean> supplier) {
}

@GwtIncompatible // Thread
public void testSupplierThreadSafe(Function<Supplier<Boolean>, Supplier<Boolean>> memoizer)
private void testSupplierThreadSafe(Function<Supplier<Boolean>, Supplier<Boolean>> memoizer)
throws Throwable {
final AtomicInteger count = new AtomicInteger(0);
final AtomicReference<Throwable> thrown = new AtomicReference<>(null);
Expand Down

0 comments on commit 69332c6

Please sign in to comment.