From a4b33533d3608c2124c076476ed8835273582ec0 Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Fri, 6 Jan 2012 17:54:00 -0500 Subject: [PATCH] SPR-9001 Javadoc fix --- .../web/servlet/mvc/condition/ConsumesRequestCondition.java | 4 ++-- .../web/servlet/mvc/condition/HeadersRequestCondition.java | 4 ++-- .../web/servlet/mvc/condition/ParamsRequestCondition.java | 4 ++-- .../servlet/mvc/condition/RequestMethodsRequestCondition.java | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/condition/ConsumesRequestCondition.java b/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/condition/ConsumesRequestCondition.java index a98b7f18ec..8de3ddd431 100644 --- a/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/condition/ConsumesRequestCondition.java +++ b/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/condition/ConsumesRequestCondition.java @@ -173,8 +173,8 @@ public final class ConsumesRequestCondition extends AbstractRequestCondition *
  • 0 if the two conditions have the same number of expressions - *
  • Less than 1 if "this" has more or more specific media type expressions - *
  • Greater than 1 if "other" has more or more specific media type expressions + *
  • Less than 0 if "this" has more or more specific media type expressions + *
  • Greater than 0 if "other" has more or more specific media type expressions * * *

    It is assumed that both instances have been obtained via diff --git a/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/condition/HeadersRequestCondition.java b/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/condition/HeadersRequestCondition.java index 911cbbb576..ab005ad2bf 100644 --- a/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/condition/HeadersRequestCondition.java +++ b/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/condition/HeadersRequestCondition.java @@ -114,8 +114,8 @@ public final class HeadersRequestCondition extends AbstractRequestCondition *

  • 0 if the two conditions have the same number of header expressions - *
  • Less than 1 if "this" instance has more header expressions - *
  • Greater than 1 if the "other" instance has more header expressions + *
  • Less than 0 if "this" instance has more header expressions + *
  • Greater than 0 if the "other" instance has more header expressions * * *

    It is assumed that both instances have been obtained via diff --git a/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/condition/ParamsRequestCondition.java b/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/condition/ParamsRequestCondition.java index 46e74843c5..c4c199133d 100644 --- a/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/condition/ParamsRequestCondition.java +++ b/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/condition/ParamsRequestCondition.java @@ -105,8 +105,8 @@ public final class ParamsRequestCondition extends AbstractRequestCondition *

  • 0 if the two conditions have the same number of parameter expressions - *
  • Less than 1 if "this" instance has more parameter expressions - *
  • Greater than 1 if the "other" instance has more parameter expressions + *
  • Less than 0 if "this" instance has more parameter expressions + *
  • Greater than 0 if the "other" instance has more parameter expressions * * *

    It is assumed that both instances have been obtained via diff --git a/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition.java b/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition.java index 1b4d1b61a5..3670a7f0cf 100644 --- a/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition.java +++ b/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition.java @@ -111,8 +111,8 @@ public final class RequestMethodsRequestCondition extends AbstractRequestConditi * Returns: *

      *
    • 0 if the two conditions contain the same number of HTTP request methods. - *
    • Less than 1 if "this" instance has an HTTP request method but "other" doesn't. - *
    • Greater than 1 "other" has an HTTP request method but "this" doesn't. + *
    • Less than 0 if "this" instance has an HTTP request method but "other" doesn't. + *
    • Greater than 0 "other" has an HTTP request method but "this" doesn't. *
    * *

    It is assumed that both instances have been obtained via