Fix [cast] compiler warnings
This commit is contained in:
committed by
Chris Beams
parent
b0986049a3
commit
6c14eaad61
@@ -59,7 +59,7 @@ public class FlashAttributeResultMatchers {
|
||||
return new ResultMatcher() {
|
||||
@SuppressWarnings("unchecked")
|
||||
public void match(MvcResult result) throws Exception {
|
||||
assertEquals("Flash attribute", value, (T) result.getFlashMap().get(name));
|
||||
assertEquals("Flash attribute", value, result.getFlashMap().get(name));
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user