This is an automated email from the ASF dual-hosted git repository. kwin pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-servlets-annotations.git
commit 6643d60d184d1beb5389966e63fb01e4037f3246 Author: Konrad Windszus <[email protected]> AuthorDate: Fri May 25 16:25:42 2018 +0200 Revert "SLING-7624 use singular for methods accepting arrays" This reverts commit d2969f13aa14089ac7bc0bf72d60bc94a4455983. --- .../servlets/annotations/SlingServletResourceTypes.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/apache/sling/servlets/annotations/SlingServletResourceTypes.java b/src/main/java/org/apache/sling/servlets/annotations/SlingServletResourceTypes.java index 0da40d0..0881303 100644 --- a/src/main/java/org/apache/sling/servlets/annotations/SlingServletResourceTypes.java +++ b/src/main/java/org/apache/sling/servlets/annotations/SlingServletResourceTypes.java @@ -42,7 +42,7 @@ public @interface SlingServletResourceTypes { * {@link SlingServletPrefix} annotation. * <p> */ - String[] resourceType(); + String[] resourceTypes(); /** * One ore more request URL selectors supported by the servlet. The @@ -52,24 +52,24 @@ public @interface SlingServletResourceTypes { * otherwise the servlet is not executed. After that may follow arbitrarily many non-registered selectors. * @see ServletResolverConstants#SLING_SERVLET_SELECTORS */ - String[] selector() default {}; + String[] selectors() default {}; /** - * The request URL extension(s) supported by the servlet + * The request URL extensions supported by the servlet * for GET requests. * <p> * It this is not set, the servlet is not limited to certain extensions. * @see ServletResolverConstants#SLING_SERVLET_EXTENSIONS */ - String[] extension() default {}; + String[] extensions() default {}; /** - * The request method(s) supported by the servlet. The value may be one of the HTTP + * The request methods supported by the servlet. The value may be one of the HTTP * methods or "*" for all methods. * <p> * If this is not set (i.e. empty array) it is assumed to be {@code GET} and {@code HEAD}. * @see ServletResolverConstants#SLING_SERVLET_METHODS * @see <a href="https://tools.ietf.org/html/rfc7231#section-4.3">HTTP 1.1 Spec Methods</a> */ - String[] method() default {}; + String[] methods() default {}; } -- To stop receiving notification emails like this one, please contact [email protected].
