diff --git a/core/src/main/java/com/google/common/truth/StringSubject.java b/core/src/main/java/com/google/common/truth/StringSubject.java index 3b675889d..597bcd9bb 100644 --- a/core/src/main/java/com/google/common/truth/StringSubject.java +++ b/core/src/main/java/com/google/common/truth/StringSubject.java @@ -165,7 +165,6 @@ public void doesNotMatch(@Nullable String regex) { /** Fails if the string matches the given regex. */ @GwtIncompatible("java.util.regex.Pattern") - @J2ktIncompatible public void doesNotMatch(@Nullable Pattern regex) { checkNotNull(regex); if (actual == null) { @@ -177,7 +176,6 @@ public void doesNotMatch(@Nullable Pattern regex) { /** Fails if the string does not contain a match on the given regex. */ @GwtIncompatible("java.util.regex.Pattern") - @J2ktIncompatible public void containsMatch(@Nullable Pattern regex) { checkNotNull(regex); if (actual == null) { @@ -199,7 +197,6 @@ public void containsMatch(@Nullable String regex) { /** Fails if the string contains a match on the given regex. */ @GwtIncompatible("java.util.regex.Pattern") - @J2ktIncompatible public void doesNotContainMatch(@Nullable Pattern regex) { checkNotNull(regex); if (actual == null) {