Fix unnecessary @SupressWarnings annotations
This commit is contained in:
@@ -157,7 +157,6 @@ public class BeanWrapperGenericsTests {
|
||||
GenericBean<?> gb = new GenericBean<Object>();
|
||||
BeanWrapper bw = new BeanWrapperImpl(gb);
|
||||
bw.registerCustomEditor(Number.class, new CustomNumberEditor(Integer.class, false));
|
||||
@SuppressWarnings("unchecked")
|
||||
Map<String, Collection> input = new HashMap<String, Collection>();
|
||||
HashSet<Integer> value1 = new HashSet<Integer>();
|
||||
value1.add(new Integer(1));
|
||||
|
||||
@@ -974,7 +974,6 @@ public class ExtendedBeanInfoTests {
|
||||
}
|
||||
|
||||
static class WithStaticWriteMethod {
|
||||
@SuppressWarnings("unused")
|
||||
public static void setProp1(String prop1) {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2200,7 +2200,6 @@ public class DefaultListableBeanFactoryTests {
|
||||
doTestFieldSettingWithInstantiationAwarePostProcessor(true);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private void doTestFieldSettingWithInstantiationAwarePostProcessor(final boolean skipPropertyPopulation) {
|
||||
DefaultListableBeanFactory lbf = new DefaultListableBeanFactory();
|
||||
RootBeanDefinition bd = new RootBeanDefinition(TestBean.class);
|
||||
|
||||
Reference in New Issue
Block a user