- 10 3月, 2014 3 次提交
-
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Stephane Nicoll 提交于
This commit provides a first attempt at defining a standard code formatting scheme for the Spring Framework in Intellij IDEA. These are the major changes compared to standard settings: * default indent option to use tab character instead of space for all languages * one space before the left brace of an array initializer * keep when reformating: multiple expressions in one line, simple blocks in one line * method declaration parameters: do not align when multiline * else, catch and finally on new line * keep one space before } (solely use to keep the space between the end of the last method and the end of the class) * minimum blank line after class header 0 (instead of 1) * Disabled Javadoc formatting * class count to trigger static import to 50 (to prevent import org.foo.*; instead of listing the classes of org.foo) * changed the import sequence to import in the following order: static imports, java.*, javax.*, others, org.springframework.*. Each sequence is separated by a space
-
- 08 3月, 2014 3 次提交
-
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
- 07 3月, 2014 6 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-11524
-
由 Juergen Hoeller 提交于
Issue: SPR-11522
-
由 Juergen Hoeller 提交于
Issue: SPR-11520
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Sebastien Deleuze 提交于
In addition to the target parameter values (SPR-9657), the target parameter names must also be decoded to be able to match them to the parameter names of incoming requests. Issue: SPR-11504
-
- 06 3月, 2014 16 次提交
-
-
由 Stephane Nicoll 提交于
When a node of an SPeL expression was a call to a bean referenced in a method argument, the expression was resolved twice. The resolved arguments are now specified to MethodValueRef instead of resolving the arguments again in the constructor Issue: SPR-11445
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
SpringBeanELResolver's setValue should not throw PropertyNotWritableException if provided value is identical to current bean instance Issue: SPR-11502
-
由 Juergen Hoeller 提交于
Issue: SPR-11471
-
由 Rossen Stoyanchev 提交于
After this change, AbstractSockJsService does not add CORS headers if the response already contains an "Access-Control-Allow-Origin" header. Essentially it backs off assuming CORS headers are handled centrally e.g. through a Filter. In order to support this, the ServletServerHttpResponse now returns an instance of HttpHeaders that also provides access to headers already present in the HttpServletResponse. Issue: SPR-11443
-
由 Sam Brannen 提交于
This commit aligns our include and exclude filters for test classes with Gradle's standard patterns. Specifically, our patterns now end with ".class" instead of ".*". The aforementioned change makes the exclusion of inner classes unnecessary. Thus, patterns for test classes ending with "TestCase" or "TestSuite" have been deleted. Furthermore, the include and exclude patterns previously used in the spring-test module made it impossible for the FailingBeforeAndAfterMethodsTests class in the 'testng' package to ever be executed by the build. This has been addressed by renaming our JUnit and TestNG variants of FailingBeforeAndAfterMethodsTests and moving the TestNG variant into the 'junit' package so that it can be picked with our standard include pattern for JUnit-based tests.
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-11495
-
由 Juergen Hoeller 提交于
Fixed through falling back to the raw parameter type in the TypeDescriptor(MethodParameter) constructor, properly detecting the vararg array even in case of an unresolvable type variable, and through restoring getElementTypeDescriptor's original behavior for arrays, i.e. always returning a non-null descriptor. Issue: SPR-11494
-
由 Rossen Stoyanchev 提交于
Issue: SPR-11516
-
由 Rossen Stoyanchev 提交于
This change removes the use of a CountDownLatch to wait for the asynchronously computed controller method return value. Instead we check in a loop every 200 milliseconds if the result has been set. If the result is not set within the specified amount of time to wait an IllegalStateException is raised. Additional changes: - Use AtomicReference to hold the async result - Remove @Ignore annotations on AsyncTests methods - Remove checks for the presence of Servlet 3 Issue: SPR-11516
-
由 Juergen Hoeller 提交于
KeyGenerators should not return a plain array parameter as raw key but rather always handle that case in a deepHashCode fashion Issue: SPR-11505
-
由 Rossen Stoyanchev 提交于
-
- 05 3月, 2014 6 次提交
-
-
由 Stephane Nicoll 提交于
* cache-tx-tests: Add tests for TransactionAwareCacheDecorator
-
由 Stephane Nicoll 提交于
This commit adds tests for TransactionAwareCacheDecorator. In particular, the put/evict behaviour when the operation is invoked in the course of Spring-managed transaction.
-
由 Juergen Hoeller 提交于
instantiateUsingFactoryMethod avoids NPE and reports argument types in case of explicitArgs and resolved generic arguments as well Issue: SPR-11517
-
由 Sam Brannen 提交于
- Deleted empty AbstractWebSocketClientTests class. - AbstractServletHandlerMethodTests and AbstractHttpRequestTests are now actually declared as abstract. - The following classes are not abstract but currently have an "Abstract" prefix and therefore get ignored by the Gradle build. This commit renames each of these by deleting the "Abstract" prefix. - AbstractFlashMapManagerTests - AbstractMappingContentNegotiationStrategyTests - AbstractSockJsServiceTests - AbstractWebSocketHandlerRegistrationTests
-
由 Sam Brannen 提交于
-
由 Rossen Stoyanchev 提交于
Issue: SPR-11516
-
- 04 3月, 2014 6 次提交
-
-
由 Stephane Nicoll 提交于
* patch-1: Fix SimpleKey equality with array argument
-
由 Craig Andrews 提交于
Prior to this commit, an array argument was not handled properly in SimpleKey#equals and SimpleKey#hashCode. As a result, two method invocations with the same array argument lead to two different keys and therefore two different entries in the cache. This commit uses deepEquals and deepHashCode to properly handle methods that have arguments that are array types. Issue: SPR-11505
-
由 Juergen Hoeller 提交于
Issue: SPR-11507
-
由 Juergen Hoeller 提交于
Optimized DefaultResourceLoader's getResource implementation for "/..." paths, not relying on URL parsing exceptions for such a common case anymore Issue: SPR-8283
-
由 Juergen Hoeller 提交于
AbstractApplicationEventMulticaster filters listeners against their type first, avoiding eager retrieval of listener instances for non-matching events Issue: SPR-11501
-
由 Sam Brannen 提交于
Prior to this commit, the test results for JUnit tests overwrote the results for TestNG tests in the HTML test report generated by the Gradle build. This commit addresses this problem by introducing a new 'aggregateTestReports' task in the spring-test module and making the 'check' task depend on it. To see aggregated reports in the spring-test module, execute either `gradle build` or `gradle check`. Executing `gradle test` alone will not trigger test report aggregation. Issue: SPR-11509
-