Clean up warnings in test fixture

This commit is contained in:
Sam Brannen 2022-02-19 17:32:15 +01:00
parent 819d4256b7
commit e85001f332
1 changed files with 1 additions and 4 deletions

View File

@ -20,10 +20,7 @@ import org.springframework.core.ResolvableType;
public class PublicFactoryBean<T> { public class PublicFactoryBean<T> {
private final Class<T> type; PublicFactoryBean(Class<T> type) {
public PublicFactoryBean(Class<T> type) {
this.type = type;
} }
public static PublicFactoryBean<ProtectedType> protectedTypeFactoryBean() { public static PublicFactoryBean<ProtectedType> protectedTypeFactoryBean() {