1. 10 8月, 2015 5 次提交
    • S
      Polish usage of global versions in Gradle build · 3cd5210b
      Sam Brannen 提交于
      3cd5210b
    • S
      Upgrade HSQL & Selenium dependencies · a22dd686
      Sam Brannen 提交于
      a22dd686
    • S
      Polish SynthesizedAnnotation support classes · 5deeaf34
      Sam Brannen 提交于
      5deeaf34
    • S
      Synthesize nested maps into annotations · f17173f6
      Sam Brannen 提交于
      Prior to this commit, attempting to synthesize an annotation from a map
      of annotation attributes that contained nested maps instead of nested
      annotations would result in an exception.
      
      This commit addresses this issue by properly synthesizing nested maps
      and nested arrays of maps into nested annotations and nested arrays of
      annotations, respectively.
      
      Issue: SPR-13338
      f17173f6
    • S
      Throw exception if required meta-annotation is not present · 82890361
      Sam Brannen 提交于
      It is a configuration error if an alias is declared via @AliasFor for
      an attribute in a meta-annotation and the meta-annotation is not
      meta-present. However, prior to this commit, the support for validating
      the configuration of @AliasFor in AnnotationUtils currently silently
      ignored such errors.
      
      This commit fixes this by throwing an AnnotationConfigurationException
      whenever a required meta-annotation is not present or meta-present on
      an annotation that declares an explicit alias for an attribute in the
      meta-annotation.
      
      Issue: SPR-13335
      82890361
  2. 09 8月, 2015 1 次提交
  3. 08 8月, 2015 1 次提交
  4. 07 8月, 2015 7 次提交
    • S
      Return null instead of empty cookies array in Spring MVC Test · 93c07e76
      Sam Brannen 提交于
      Prior to this commit, MockHttpServletRequestBuilder always supplied an
      array of cookies to the MockHttpServletRequest that it built, even if
      the array was empty.
      
      However, this violates the contract of HttpServletRequest. According to
      the Servlet API, the getCookies() method "returns null if no cookies
      were sent."
      
      This commit ensures that MockHttpServletRequestBuilder no longer
      configures an empty array of cookies in the mock request that it builds.
      
      Issue: SPR-13314
      93c07e76
    • S
      Merge pull request #854 from candrews/SPR-13320 · 35dd3078
      Sam Brannen 提交于
      * SPR-13320:
        Introduce additional JsonPath matchers in Spring MVC Test
      35dd3078
    • C
      Introduce additional JsonPath matchers in Spring MVC Test · fffdd1e9
      Craig Andrews 提交于
      This commit introduces the following methods in JsonPathResultMatchers
      in the Spring MVC Test framework.
      
      - isString()
      - isBoolean()
      - isNumber()
      - isMap()
      
      In addition, this commit overhauls the Javadoc in
      JsonPathResultMatchers and JsonPathExpectationsHelper.
      
      Issue: SPR-13320
      fffdd1e9
    • S
      Improve performance of NumberUtils · 48b965ad
      Sam Brannen 提交于
      This commit aims to improve the space and time performance of
      NumberUtils by invoking valueOf() factory methods instead of the
      corresponding constructors when converting a number to a target class.
      48b965ad
    • S
      Polish NumberUtilsTests · e0392d9d
      Sam Brannen 提交于
      e0392d9d
    • S
      Polish Javadoc for NumberUtils · 15033c1c
      Sam Brannen 提交于
      15033c1c
    • S
      Ensure @AliasFor overrides attribute in correct meta-annotation · c8d604bf
      Sam Brannen 提交于
      Prior to this commit, an explicit override for an attribute in a
      meta-annotation configured via @AliasFor could potentially result in an
      incorrect override of an attribute of the same name but in the wrong
      meta-annotation.
      
      This commit fixes the algorithm in getAliasedAttributeName(Method,
      Class) in AnnotationUtils by ensuring that an explicit attribute
      override is only applied to the configured target meta-annotation
      (i.e., configured via the 'annotation' attribute in @AliasFor).
      
      Issue: SPR-13325
      c8d604bf
  5. 05 8月, 2015 1 次提交
  6. 04 8月, 2015 1 次提交
  7. 01 8月, 2015 1 次提交
  8. 31 7月, 2015 10 次提交
  9. 30 7月, 2015 13 次提交