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: *

    * *

    It is assumed that both instances have been obtained via