Commit fbf97447 authored by Andy Wilkinson's avatar Andy Wilkinson

Merge branch '1.5.x' into 2.0.x

parents 4ec87956 c8b3cea2
...@@ -154,8 +154,8 @@ public abstract class AbstractFilterRegistrationBean<T extends Filter> ...@@ -154,8 +154,8 @@ public abstract class AbstractFilterRegistrationBean<T extends Filter>
} }
/** /**
* Return a mutable collection of URL patterns that the filter will be registered * Return a mutable collection of URL patterns, as defined in the Servlet
* against. * specification, that the filter will be registered against.
* @return the URL patterns * @return the URL patterns
*/ */
public Collection<String> getUrlPatterns() { public Collection<String> getUrlPatterns() {
...@@ -163,7 +163,8 @@ public abstract class AbstractFilterRegistrationBean<T extends Filter> ...@@ -163,7 +163,8 @@ public abstract class AbstractFilterRegistrationBean<T extends Filter>
} }
/** /**
* Add URL patterns that the filter will be registered against. * Add URL patterns, as defined in the Servlet specification, that the filter will be
* registered against.
* @param urlPatterns the URL patterns * @param urlPatterns the URL patterns
*/ */
public void addUrlPatterns(String... urlPatterns) { public void addUrlPatterns(String... urlPatterns) {
......
...@@ -129,7 +129,8 @@ public class ServletRegistrationBean<T extends Servlet> ...@@ -129,7 +129,8 @@ public class ServletRegistrationBean<T extends Servlet>
} }
/** /**
* Return a mutable collection of the URL mappings for the servlet. * Return a mutable collection of the URL mappings, as defined in the Servlet
* specification, for the servlet.
* @return the urlMappings * @return the urlMappings
*/ */
public Collection<String> getUrlMappings() { public Collection<String> getUrlMappings() {
...@@ -137,7 +138,7 @@ public class ServletRegistrationBean<T extends Servlet> ...@@ -137,7 +138,7 @@ public class ServletRegistrationBean<T extends Servlet>
} }
/** /**
* Add URL mappings for the servlet. * Add URL mappings, as defined in the Servlet specification, for the servlet.
* @param urlMappings the mappings to add * @param urlMappings the mappings to add
* @see #setUrlMappings(Collection) * @see #setUrlMappings(Collection)
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment