Remove unnecessary extends Object from generic

See gh-38739
This commit is contained in:
Yanming Zhou 2023-12-19 22:27:57 -08:00 committed by Phillip Webb
parent 84f7c2dba9
commit b6e87cee35

View File

@ -37,7 +37,7 @@ import org.springframework.util.FileCopyUtils;
*/
class TestPrintStream extends PrintStream implements AssertProvider<PrintStreamAssert> {
private final Class<? extends Object> testClass;
private final Class<?> testClass;
TestPrintStream(Object testInstance) {
super(new ByteArrayOutputStream());