1. 23 1月, 2014 1 次提交
  2. 16 1月, 2014 4 次提交
  3. 27 11月, 2013 2 次提交
  4. 26 11月, 2013 2 次提交
    • E
      Fix various typos · e9f78f60
      Eric Dahl 提交于
      Fix a variety of typos throughout the project, primarily in
      comments (javadoc or otherwise) but also in a handful of log messages
      and a couple exception messages.
      
      ISSUE: SPR-11123
      e9f78f60
    • P
      Fix remaining compiler warnings · 59002f24
      Phillip Webb 提交于
      Fix remaining Java compiler warnings, mainly around missing
      generics or deprecated code.
      
      Also add the `-Werror` compiler option to ensure that any future
      warnings will fail the build.
      
      Issue: SPR-11064
      59002f24
  5. 20 11月, 2013 1 次提交
  6. 15 11月, 2013 1 次提交
  7. 31 10月, 2013 1 次提交
  8. 28 8月, 2013 1 次提交
  9. 06 8月, 2013 1 次提交
  10. 19 7月, 2013 1 次提交
  11. 21 6月, 2013 1 次提交
  12. 16 5月, 2013 2 次提交
  13. 15 5月, 2013 1 次提交
    • R
      Fix deadlock issue in DeferredResult · db596d23
      Rossen Stoyanchev 提交于
      Previously DeferredResult locked around the setting of the result
      including handling up to the part of submitting a dispatch. This
      can cause a deadlock if a timeout occurs at the same time since
      the Tomcat timeout thread has its own locking that permits only
      one thread to do timeout or dispatch processing.
      
      The fix reduces the locking to cover only the attempt to set the
      DeferredResult but not the dispatching.
      
      Issue: SPR-10485
      db596d23
  14. 14 5月, 2013 1 次提交
  15. 11 5月, 2013 1 次提交
  16. 09 5月, 2013 1 次提交
    • P
      Allow late binding ServletContextAwareProcessor · e9a2e688
      Phillip Webb 提交于
      Update ServletContextAwareProcessor to allow subclasses to support late
      binding of the ServletConfig and/or ServletContext. Allows for the
      post-processor to be registered before the servlet environment has been
      initialized.
      
      Issue: SPR-10381
      e9a2e688
  17. 02 5月, 2013 1 次提交
  18. 13 3月, 2013 2 次提交
  19. 22 1月, 2013 2 次提交
    • S
      Polish Javadoc in Spring MVC async support · 2a41de00
      Sam Brannen 提交于
      This commit fixes some typographical and grammatical errors in various
      classes in Spring MVC's async support.
      2a41de00
    • C
      Relax ConfigurableWebEnvironment signatures · 3cdb866b
      Chris Beams 提交于
      ConfigurableWebEnvironment was introduced in 3.2.0.M1 with SPR-9439 in
      order to break a cyclic dependency. At the same time, certain signatures
      such as AbstractRefreshableWebApplicationContext#getEnviroment and
      GenericWebApplicationContext#getEnvironment were updated to take
      advantage of covariant return types and return this newer, more narrow
      type and providing cast-free calls to ConfigurableWebEnvironment methods
      where necessary. Similar changes were made to HttpServletBean in
      3.2.0.M2 with SPR-9763.
      
      Narrowing #getEnvironment signatures in this fashion required enforcing
      at the #setEnvironment level that any Environment instance provided
      (explicitly or via the EnvironmentAware callback) must be an instance of
      ConfigurableWebEnvironment. This is a reasonable assertion in typical
      web application scenarios, but as SPR-10138 demonstrates, there are
      valid use cases in which one may want or need to inject a non-web
      ConfigurableEnvironment variant, e.g. during automated unit/integration
      testing.
      
      On review, it was never strictly necessary to narrow #getEnvironment
      signatures, although doing so did provided convenience and type safety.
      In order to maintain as flexible and backward-compatible an arrangement
      as possible, this commit relaxes these #getEnvironment signatures back
      to their original, pre-3.2 state. Namely, they now return
      ConfigurableEnvironment as opposed to ConfigurableWebEnvironment, and in
      accordance, all instanceof assertions have been removed or relaxed to
      ensure that injected Environment instances are of type
      ConfigurableEnvironment.
      
      These changes have been verified against David Winterfeldt's Spring by
      Example spring-rest-services project, as described at SPR-10138.
      
      Issue: SPR-10138, SPR-9763, SPR-9439
      3cdb866b
  20. 18 1月, 2013 1 次提交
  21. 02 1月, 2013 1 次提交
  22. 29 12月, 2012 8 次提交
  23. 12 12月, 2012 1 次提交
    • C
      Eliminate all Javadoc warnings · f2653470
      Chris Beams 提交于
       - Support external Javadoc links using Gradle's javadoc.options.links
      
       - Fix all other Javadoc warnings, such as typos, references to
         non-existent (or no longer existent) types and members, etc,
         including changes related to the Quartz 2.0 upgrade (SPR-8275) and
         adding the HTTP PATCH method (SPR-7985).
      
       - Suppress all output for project-level `javadoc` tasks in order to
         hide false-negative warnings about cross-module @see and @link
         references (e.g. spring-core having a @see reference to spring-web).
         Use the `--info` (-i) flag to gradle at any time to see project-level
         javadoc warnings without running the entire `api` task. e.g.
         `gradle :spring-core:javadoc -i`
      
       - Favor root project level `api` task for detection of legitimate
         Javadoc warnings. There are now zero Javadoc warnings across the
         entirety of spring-framework. Goal: keep it that way.
      
       - Remove all @link and @see references to types and members that exist
         only in Servlet <= 2.5 and Hibernate <= 4.0, favoring 3.0+ and 4.0+
         respectively. This is necessary because only one version of each of
         these dependencies can be present on the global `api` javadoc task's
         classpath. To that end, the `api` task classpath has now been
         customized to ensure that the Servlet 3 API and Hibernate Core 4 jars
         have precedence.
      
       - SPR-8896 replaced our dependency on aspectjrt with a dependency on
         aspectjweaver, which is fine from a POM point of view, but causes
         a spurious warning to be emitted from the ant iajc task that it
         "cannot find aspectjrt on the classpath" - even though aspectjweaver
         is perfectly sufficient. In the name of keeping the console quiet, a
         new `rt` configuration has been added, and aspectjrt added as a
         dependency to it. In turn, configurations.rt.asPath is appended to
         the iajc classpath during both compileJava and compileTestJava for
         spring-aspects.
      
      Issue: SPR-10078, SPR-8275, SPR-7985, SPR-8896
      f2653470
  24. 11 12月, 2012 1 次提交
    • R
      Make DeferredResult extensible · be7b07f8
      Rob Winch 提交于
      Previously it was cumbersome to associate data or behavior to a
      DeferredResult because it was marked as final and had no extension
      points.
      
      Now DeferredResult is non-final which allows subclasses to associate
      additional data and behavior to it.
      
      Issue: SPR-10059
      be7b07f8
  25. 01 12月, 2012 1 次提交
    • R
      Add beforeConcurrentHandling support · 1e62ad86
      Rob Winch 提交于
      Previously CallableProcessingInterceptor and
      DeferredResultProcessingInterceptor did not have support for capturing
      the state of the original Thread just prior to processing. This made it
      difficult to transfer the state of one Thread (i.e. ThreadLocal) to the
      Thread used to process the Callable.
      
      This commit adds a new method to CallableProcessingInterceptor and
      DeferredResultProcessingInterceptor named beforeConcurrentHandling
      which will be invoked on the original Thread used to submit the Callable
      or DeferredResult. This means the state of the original Thread can be
      captured in beforeConcurrentHandling and transfered to the new Thread
      in preProcess.
      
      Issue: SPR-10052
      1e62ad86