Remove unnecessary warning suppression in ModelResultMatchers

This commit is contained in:
Sam Brannen 2014-07-16 17:43:56 +02:00
parent fac0599aef
commit c1a2f5efa4
1 changed files with 0 additions and 2 deletions

View File

@ -37,7 +37,6 @@ import org.springframework.web.servlet.ModelAndView;
*/
public class ModelResultMatchers {
/**
* Protected constructor.
* Use {@link MockMvcResultMatchers#model()}.
@ -196,7 +195,6 @@ public class ModelResultMatchers {
return new ResultMatcher() {
@Override
@SuppressWarnings("unchecked")
public void match(MvcResult mvcResult) throws Exception {
ModelAndView mav = getModelAndView(mvcResult);
BindingResult result = getBindingResult(mav, name);