Fix grammar in Javadoc for @ResponseBody

master
Sam Brannen 11 years ago
parent 8c3868a8dd
commit 474f1b03cd
  1. 12
      spring-web/src/main/java/org/springframework/web/bind/annotation/ResponseBody.java

@ -1,5 +1,5 @@
/*
* Copyright 2002-2013 the original author or authors.
* Copyright 2002-2014 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.
@ -23,11 +23,11 @@ import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation that indicates a method return value should be bound to the web response
* body. Supported for annotated handler methods in Servlet environments.
* <p>
* As of version 4.0 this annotation can also be added on the type level in which case
* is inherited and does not need to be added on the method level.
* Annotation that indicates a method return value should be bound to the web
* response body. Supported for annotated handler methods in Servlet environments.
*
* <p>As of version 4.0 this annotation can also be added on the type level in
* which case it is inherited and does not need to be added on the method level.
*
* @author Arjen Poutsma
* @since 3.0

Loading…
Cancel
Save