Skip to content

Commit

Permalink
Remove @J2ktIncompatible from TruthJUnit
Browse files Browse the repository at this point in the history
RELNOTES=n/a
PiperOrigin-RevId: 644012345
  • Loading branch information
kevinoconnor7 authored and Google Java Core Libraries committed Jun 17, 2024
1 parent 35848d4 commit 6380af7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions core/src/main/java/com/google/common/truth/TruthJUnit.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/
package com.google.common.truth;

import com.google.common.annotations.GwtIncompatible;
import org.junit.AssumptionViolatedException;

/**
Expand All @@ -40,8 +39,7 @@
* @author David Saff
* @author Christian Gruber ([email protected])
*/
@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 =
Expand Down
2 changes: 0 additions & 2 deletions core/src/test/java/com/google/common/truth/gwt/Inventory.java
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand Down Expand Up @@ -96,5 +95,4 @@ public class Inventory {
ThrowableSubject throwableSubject;
Truth truth;
Truth8 truth8;
TruthJUnit truthJUnit;
}

0 comments on commit 6380af7

Please sign in to comment.