Skip to content

Commit 6380af7

Browse files
kevinoconnor7Google Java Core Libraries
authored andcommitted
Remove @J2ktIncompatible from TruthJUnit
RELNOTES=n/a PiperOrigin-RevId: 644012345
1 parent 35848d4 commit 6380af7

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

core/src/main/java/com/google/common/truth/TruthJUnit.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616
package com.google.common.truth;
1717

18-
import com.google.common.annotations.GwtIncompatible;
1918
import org.junit.AssumptionViolatedException;
2019

2120
/**
@@ -40,8 +39,7 @@
4039
* @author David Saff
4140
* @author Christian Gruber ([email protected])
4241
*/
43-
@GwtIncompatible("JUnit4")
44-
@J2ktIncompatible
42+
@com.google.common.annotations.GwtIncompatible("JUnit4")
4543
public final class TruthJUnit {
4644
@SuppressWarnings("ConstantCaseForConstants") // Despite the "Builder" name, it's not mutable.
4745
private static final StandardSubjectBuilder ASSUME =

core/src/test/java/com/google/common/truth/gwt/Inventory.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
import com.google.common.truth.ThrowableSubject;
5353
import com.google.common.truth.Truth;
5454
import com.google.common.truth.Truth8;
55-
import com.google.common.truth.TruthJUnit;
5655

5756
/**
5857
* Static references to a variety of classes to force their loading during the {@link TruthGwtTest}.
@@ -96,5 +95,4 @@ public class Inventory {
9695
ThrowableSubject throwableSubject;
9796
Truth truth;
9897
Truth8 truth8;
99-
TruthJUnit truthJUnit;
10098
}

0 commit comments

Comments
 (0)