Skip to content

Commit b799927

Browse files
java-team-github-botError Prone Team
authored andcommitted
Automatic code cleanup.
PiperOrigin-RevId: 605217009
1 parent 68badf0 commit b799927

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

core/src/test/java/com/google/errorprone/bugpatterns/collectionincompatibletype/TruthIncompatibleTypeTest.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
import com.google.common.truth.extensions.proto.ProtoSubject;
3030
import com.google.errorprone.CompilationTestHelper;
3131
import com.google.testing.junit.testparameterinjector.TestParameter;
32-
import com.google.testing.junit.testparameterinjector.TestParameter.TestParameterValuesProvider;
3332
import com.google.testing.junit.testparameterinjector.TestParameterInjector;
33+
import com.google.testing.junit.testparameterinjector.TestParameterValuesProvider;
3434
import java.lang.reflect.Method;
3535
import java.lang.reflect.Modifier;
3636
import org.junit.Test;
@@ -668,23 +668,23 @@ private static String getOffensiveLine(Method method) {
668668
}
669669
}
670670

671-
private static final class SubjectMethods implements TestParameterValuesProvider {
671+
private static final class SubjectMethods extends TestParameterValuesProvider {
672672
@Override
673-
public ImmutableList<Method> provideValues() {
673+
public ImmutableList<Method> provideValues(Context context) {
674674
return getAssertionMethods(Subject.class);
675675
}
676676
}
677677

678-
private static final class IterableSubjectMethods implements TestParameterValuesProvider {
678+
private static final class IterableSubjectMethods extends TestParameterValuesProvider {
679679
@Override
680-
public ImmutableList<Method> provideValues() {
680+
public ImmutableList<Method> provideValues(Context context) {
681681
return getAssertionMethods(IterableSubject.class);
682682
}
683683
}
684684

685-
private static final class ProtoTruthSubjectMethods implements TestParameterValuesProvider {
685+
private static final class ProtoTruthSubjectMethods extends TestParameterValuesProvider {
686686
@Override
687-
public ImmutableList<Method> provideValues() {
687+
public ImmutableList<Method> provideValues(Context context) {
688688
return getAssertionMethods(ProtoSubject.class);
689689
}
690690
}

0 commit comments

Comments
 (0)