1. 04 3月, 2014 2 次提交
  2. 03 3月, 2014 2 次提交
  3. 02 3月, 2014 2 次提交
    • S
      Polish AbstractSockJsSession · 8f3a8975
      Sam Brannen 提交于
      8f3a8975
    • R
      Add smart logging for disconnected SockJS clients · 42382996
      Rossen Stoyanchev 提交于
      The Servlet API does not provide notifications when a client
      disconnects, see see https://java.net/jira/browse/SERVLET_SPEC-44.
      Therefore network IO failures may occur simply because a client has
      gone away. Before this change that could fill logs with unnecessary
      stack traces.
      
      After this change we make a best effort to identify such network
      failures, on a per-server basis (tested with Jetty, Tomcat, Glassfish,
      and WildFly), and log them under a separate log category.
      
      A simple one-line message is logged at DEBUG level (i.e. no stack trace)
      while a full stack trace is shown at TRACE level.
      
      Issue: SPR-11438
      42382996
  4. 01 3月, 2014 13 次提交
  5. 28 2月, 2014 15 次提交
  6. 27 2月, 2014 2 次提交
    • B
      Update documentation with coding guidelines · 11c41993
      Brian Clozel 提交于
      This commit:
      * adds a reference to the Spring Code Style wiki page in the main
      CONTRIBUTING document
      * updates the link to the Spring team in README
      * adds a note regarding Intellij IDEA 13 issues
      11c41993
    • S
      Ensure AnnotationUtils is compatible with Java 6 · 0637864b
      Sam Brannen 提交于
      The previous commit introduced a dependency on
      Class.getDeclaredAnnotation() which is a Java 8 API.
      
      This commit refactors AnnotationUtils.findAnnotation(Class, Class, Set)
      to use Class.getAnnotation() in conjunction with
      isAnnotationDeclaredLocally() in order to achieve the same desired
      behavior.
      
      Issue: SPR-11475
      0637864b
  7. 26 2月, 2014 4 次提交
    • S
      Merge changes from sbrannen/SPR-11475 · 0f5a27c3
      Sam Brannen 提交于
      * SPR-11475:
        Favor 'local' annotations over inherited ones
      0f5a27c3
    • S
      Favor 'local' annotations over inherited ones · 1d30bf83
      Sam Brannen 提交于
      Prior to this commit, the implementations of findAnnotation() in
      AnnotationUtils and getAnnotationAttributes() in AnnotatedElementUtils
      favored inherited annotations and inherited composed annotations over
      composed annotations that are declared closer to the starting class
      passed to these methods.
      
      This commit addresses this issue as follows:
      
      - Refactored AnnotationUtils to use getDeclaredAnnotation() and
        getDeclaredAnnotations() instead of getAnnotation() and
        getAnnotations() where appropriate.
      
      - AnnotatedElementUtils.doProcess() supports a traverseClassHierarchy
        flag to control whether the class hierarchy should be traversed,
        using getDeclaredAnnotations() instead of getAnnotations() if the
        flag is true.
      
      - Overhauled Javadoc in AnnotatedElementUtils.
      
      Issue: SPR-11475
      1d30bf83
    • J
      Upgraded JSP build dependency to 2.2 · 0616cbcc
      Juergen Hoeller 提交于
      0616cbcc
    • S
      Clean up warnings that show up in Gradle build · fbdebc1b
      Sam Brannen 提交于
      fbdebc1b