Skip to content

Commit fb062c0

Browse files
cpovirkGoogle Java Core Libraries
authored andcommitted
Remove emulated = true from @GwtCompatible usages.
This used to matter to our Maven build, but it stopped mattering back in cl/105596491. RELNOTES=n/a PiperOrigin-RevId: 792182756
1 parent 2102948 commit fb062c0

File tree

565 files changed

+565
-565
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

565 files changed

+565
-565
lines changed

android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* parameterize the test.
3535
* @author George van den Driessche
3636
*/
37-
@GwtCompatible(emulated = true)
37+
@GwtCompatible
3838
@NullMarked
3939
public class AbstractTester<G> extends TestCase {
4040
private G subjectGenerator;

android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
import org.jspecify.annotations.NullMarked;
4747
import org.jspecify.annotations.Nullable;
4848

49-
@GwtCompatible(emulated = true)
49+
@GwtCompatible
5050
@NullMarked
5151
public class Helpers {
5252
// Clone of Objects.equals

android/guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
import org.jspecify.annotations.Nullable;
3636

3737
/** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */
38-
@GwtCompatible(emulated = true)
38+
@GwtCompatible
3939
@NullMarked
4040
final class ReflectionFreeAssertThrows {
4141
interface ThrowingRunnable {

android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
*
4949
* @author Chris Povirk
5050
*/
51-
@GwtCompatible(emulated = true)
51+
@GwtCompatible
5252
@Ignore("test runners must not instantiate and run this directly, only via suites we build")
5353
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
5454
@SuppressWarnings("JUnit4ClassUsedInJUnit3")

android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
*
4040
* @author Louis Wasserman
4141
*/
42-
@GwtCompatible(emulated = true)
42+
@GwtCompatible
4343
@Ignore("test runners must not instantiate and run this directly, only via suites we build")
4444
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
4545
@SuppressWarnings("JUnit4ClassUsedInJUnit3")

android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
*
4040
* @author Jared Levy
4141
*/
42-
@GwtCompatible(emulated = true)
42+
@GwtCompatible
4343
@Ignore("test runners must not instantiate and run this directly, only via suites we build")
4444
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
4545
@SuppressWarnings("JUnit4ClassUsedInJUnit3")

android/guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
*
4040
* @author Louis Wasserman
4141
*/
42-
@GwtCompatible(emulated = true)
42+
@GwtCompatible
4343
@Ignore("test runners must not instantiate and run this directly, only via suites we build")
4444
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
4545
@SuppressWarnings("JUnit4ClassUsedInJUnit3")

android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
*
4545
* @author Jared Levy
4646
*/
47-
@GwtCompatible(emulated = true)
47+
@GwtCompatible
4848
@Ignore("test runners must not instantiate and run this directly, only via suites we build")
4949
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
5050
@SuppressWarnings("JUnit4ClassUsedInJUnit3")

android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
import org.jspecify.annotations.Nullable;
3636

3737
/** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */
38-
@GwtCompatible(emulated = true)
38+
@GwtCompatible
3939
@NullMarked
4040
final class ReflectionFreeAssertThrows {
4141
interface ThrowingRunnable {

android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
* @author Jared Levy
6262
* @author Hayward Chan
6363
*/
64-
@GwtCompatible(emulated = true)
64+
@GwtCompatible
6565
@NullMarked
6666
public class SetGenerators {
6767

0 commit comments

Comments
 (0)