From 83ea0fb9e043670f8153147c1a79026acfa98f54 Mon Sep 17 00:00:00 2001 From: Biju Kunjummen Date: Wed, 10 Jul 2013 16:22:25 -0400 Subject: [PATCH] Fix typo in ModelAndViewMethodReturnValueHandler This commit fixes a typo in the class-level Javadoc for ModelAndViewMethodReturnValueHandler. Issue: SPR-10650 --- .../annotation/ModelAndViewMethodReturnValueHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ModelAndViewMethodReturnValueHandler.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ModelAndViewMethodReturnValueHandler.java index ebdcd8fcf3..cecae308fd 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ModelAndViewMethodReturnValueHandler.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ModelAndViewMethodReturnValueHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,7 +30,7 @@ import org.springframework.web.servlet.View; * *

If the return value is {@code null}, the * {@link ModelAndViewContainer#setRequestHandled(boolean)} flag is set to - * {@code false} to indicate the request was handled directly. + * {@code true} to indicate the request was handled directly. * *

A {@link ModelAndView} return type has a set purpose. Therefore this * handler should be configured ahead of handlers that support any return