diff --git a/core/src/main/java/com/google/common/truth/TruthJUnit.java b/core/src/main/java/com/google/common/truth/TruthJUnit.java index ad82efb28..648d51236 100644 --- a/core/src/main/java/com/google/common/truth/TruthJUnit.java +++ b/core/src/main/java/com/google/common/truth/TruthJUnit.java @@ -15,7 +15,6 @@ */ package com.google.common.truth; -import com.google.common.annotations.GwtIncompatible; import org.junit.AssumptionViolatedException; /** @@ -40,8 +39,7 @@ * @author David Saff * @author Christian Gruber (cgruber@israfil.net) */ -@GwtIncompatible("JUnit4") -@J2ktIncompatible +@com.google.common.annotations.GwtIncompatible("JUnit4") public final class TruthJUnit { @SuppressWarnings("ConstantCaseForConstants") // Despite the "Builder" name, it's not mutable. private static final StandardSubjectBuilder ASSUME = diff --git a/core/src/test/java/com/google/common/truth/gwt/Inventory.java b/core/src/test/java/com/google/common/truth/gwt/Inventory.java index 96ce5e1eb..61002ddcf 100644 --- a/core/src/test/java/com/google/common/truth/gwt/Inventory.java +++ b/core/src/test/java/com/google/common/truth/gwt/Inventory.java @@ -52,7 +52,6 @@ import com.google.common.truth.ThrowableSubject; import com.google.common.truth.Truth; import com.google.common.truth.Truth8; -import com.google.common.truth.TruthJUnit; /** * Static references to a variety of classes to force their loading during the {@link TruthGwtTest}. @@ -96,5 +95,4 @@ public class Inventory { ThrowableSubject throwableSubject; Truth truth; Truth8 truth8; - TruthJUnit truthJUnit; }