Skip to content

Commit c243961

Browse files
martinkretzschmarGoogle Java Core Libraries
authored andcommitted
Remove @J2ktIncompatible from StringSubject#matches
It was only marked so because there was a `@GwtIncompatible`. It is necessary for Guava unit tests. RELNOTES=n/a PiperOrigin-RevId: 608326215
1 parent f1fd0cf commit c243961

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ public void matches(@Nullable String regex) {
135135

136136
/** Fails if the string does not match the given regex. */
137137
@GwtIncompatible("java.util.regex.Pattern")
138-
@J2ktIncompatible
139138
public void matches(@Nullable Pattern regex) {
140139
checkNotNull(regex);
141140
if (actual == null) {

0 commit comments

Comments
 (0)