File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
spring-aop/src/test/java/org/springframework/aop/aspectj/annotation
spring-expression/src/test/java/org/springframework/expression/spel Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ public void testWithInstanceWithNonAspect() throws Exception {
83
83
}
84
84
85
85
@ Test
86
+ @ SuppressWarnings ("unchecked" )
86
87
public void testSerializable () throws Exception {
87
88
AspectJProxyFactory proxyFactory = new AspectJProxyFactory (new TestBean ());
88
89
proxyFactory .addAspect (LoggingAspectOnVarargs .class );
@@ -119,6 +120,7 @@ public void testWithNonSingletonAspectInstance() throws Exception {
119
120
}
120
121
121
122
@ Test // SPR-13328
123
+ @ SuppressWarnings ("unchecked" )
122
124
public void testProxiedVarargsWithEnumArray () throws Exception {
123
125
AspectJProxyFactory proxyFactory = new AspectJProxyFactory (new TestBean ());
124
126
proxyFactory .addAspect (LoggingAspectOnVarargs .class );
@@ -127,6 +129,7 @@ public void testProxiedVarargsWithEnumArray() throws Exception {
127
129
}
128
130
129
131
@ Test // SPR-13328
132
+ @ SuppressWarnings ("unchecked" )
130
133
public void testUnproxiedVarargsWithEnumArray () throws Exception {
131
134
AspectJProxyFactory proxyFactory = new AspectJProxyFactory (new TestBean ());
132
135
proxyFactory .addAspect (LoggingAspectOnSetter .class );
Original file line number Diff line number Diff line change 43
43
public class IndexingTests {
44
44
45
45
@ Test
46
+ @ SuppressWarnings ("unchecked" )
46
47
public void indexIntoGenericPropertyContainingMap () {
47
48
Map <String , String > property = new HashMap <>();
48
49
property .put ("foo" , "bar" );
@@ -60,6 +61,7 @@ public void indexIntoGenericPropertyContainingMap() {
60
61
public Object property ;
61
62
62
63
@ Test
64
+ @ SuppressWarnings ("unchecked" )
63
65
public void indexIntoGenericPropertyContainingMapObject () {
64
66
Map <String , Map <String , String >> property = new HashMap <>();
65
67
Map <String , String > map = new HashMap <>();
You can’t perform that action at this time.
0 commit comments