提交 c1a2f5ef 编写于 作者: S Sam Brannen

Remove unnecessary warning suppression in ModelResultMatchers

上级 fac0599a
...@@ -37,7 +37,6 @@ import org.springframework.web.servlet.ModelAndView; ...@@ -37,7 +37,6 @@ import org.springframework.web.servlet.ModelAndView;
*/ */
public class ModelResultMatchers { public class ModelResultMatchers {
/** /**
* Protected constructor. * Protected constructor.
* Use {@link MockMvcResultMatchers#model()}. * Use {@link MockMvcResultMatchers#model()}.
...@@ -196,7 +195,6 @@ public class ModelResultMatchers { ...@@ -196,7 +195,6 @@ public class ModelResultMatchers {
return new ResultMatcher() { return new ResultMatcher() {
@Override @Override
@SuppressWarnings("unchecked")
public void match(MvcResult mvcResult) throws Exception { public void match(MvcResult mvcResult) throws Exception {
ModelAndView mav = getModelAndView(mvcResult); ModelAndView mav = getModelAndView(mvcResult);
BindingResult result = getBindingResult(mav, name); BindingResult result = getBindingResult(mav, name);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册