- 23 1月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-11297 (cherry picked from commit fc361844)
-
- 16 1月, 2014 4 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-11317
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Introduced "globalInitializerClasses" next to the existing "contextInitializerClasses", applying to FrameworkServlets as well Issue: SPR-11314
-
- 27 11月, 2013 2 次提交
-
-
由 Phillip Webb 提交于
Update code to have a consistent number of new-line characters after import statements.
-
由 Phillip Webb 提交于
-
- 26 11月, 2013 2 次提交
-
-
由 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
-
由 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
-
- 20 11月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 15 11月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 31 10月, 2013 1 次提交
-
-
由 Rossen Stoyanchev 提交于
This change adds async web request timeout handling to OSIV filters and interceptors to ensure the session or entity manager is released. Issue: SPR-10874
-
- 28 8月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
Restoring consistency with AnnotationConfigApplicationContext. Issue: SPR-10852
-
- 06 8月, 2013 1 次提交
-
-
由 Sam Brannen 提交于
This commit polishes the Javadoc and assertion failure messages for AbstractContextLoaderInitializer and its subclasses.
-
- 19 7月, 2013 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-10673
-
- 21 6月, 2013 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-10603
-
- 16 5月, 2013 2 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-10449
-
由 Juergen Hoeller 提交于
Issue: SPR-10436
-
- 15 5月, 2013 1 次提交
-
-
由 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
-
- 14 5月, 2013 1 次提交
-
-
由 Rob Winch 提交于
Issue: SPR-10130
-
- 11 5月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
Adding overloaded constructors for URI specification to UrlResource, as a convenience. Issue: SPR-10471
-
- 09 5月, 2013 1 次提交
-
-
由 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
-
- 02 5月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 13 3月, 2013 2 次提交
-
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
- 22 1月, 2013 2 次提交
-
-
由 Sam Brannen 提交于
This commit fixes some typographical and grammatical errors in various classes in Spring MVC's async support.
-
由 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
-
- 18 1月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-9996
-
- 02 1月, 2013 1 次提交
-
-
由 Chris Beams 提交于
This reverts commit 45fa5082, reversing changes made to a312d900.
-
- 29 12月, 2012 8 次提交
-
-
由 Chris Beams 提交于
-
由 Chris Beams 提交于
Issue: SPR-10130
-
由 Chris Beams 提交于
-
由 Chris Beams 提交于
-
由 Phillip Webb 提交于
-
由 Phillip Webb 提交于
Fix serialization warnings by applying @SuppressWarnings("serial") when appropriate. In certain cases and for unknown reasons, a correctly-placed @SuppressWarnings("serial") annotation will fix the warning at the javac level (i.e. the Gradle command-line), but will produce an "unnecessary @SuppressWarnings" warning within Eclipse. In these cases, a private static final serialVersionUID field has been added with the default value of 1L.
-
由 Chris Beams 提交于
Issue: SPR-10128
-
由 Phillip Webb 提交于
find . -type f -name "*.java" -or -name "*.aj" | \ xargs perl -p -i -e "s/[ \t]*$//g" {} \; Issue: SPR-10127
-
- 12 12月, 2012 1 次提交
-
-
由 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
-
- 11 12月, 2012 1 次提交
-
-
由 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
-
- 01 12月, 2012 1 次提交
-
-
由 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
-