- 09 6月, 2013 9 次提交
-
-
由 Sam Brannen 提交于
The Javadoc for several methods in HttpSession specifies that an IllegalStateException must be thrown if the method is called on an invalidated session; however, Spring's MockHttpSession did not implement this behavior consistently prior to this commit. This commit therefore ensures that the following methods in MockHttpSession properly throw an IllegalStateException as defined in the Servlet specification. - long getCreationTime() - long getLastAccessedTime() - Object getAttribute(String) - Object getValue(String) - Enumeration<String> getAttributeNames() - String[] getValueNames() - void setAttribute(String, Object) - void putValue(String , Object) - void removeAttribute(String) - void removeValue(String) - void invalidate() - boolean isNew() Issue: SPR-7659
-
由 Sam Brannen 提交于
Prior to this commit it was possible for the method and requestURI fields in MockHttpServletRequest to be set to null. This commit ensures that the method and requestURI fields are internally stored as empty strings if the user sets them to a null value. Issue: SPR-10643
-
由 Sam Brannen 提交于
Prior to this commit, MockHttpServletRequest.getRequestURL() always included the server port number in the reconstructed request URL, even for implicit ports (i.e., 80 and 443) and negative ports. MockHttpServletRequest.getRequestURL() now omits the port number when reconstructing a URL that has an implicit or negative port. Issue: SPR-9726
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
This commit verifies that the return type of a parameterized instance factory method is properly resolved. Issue: SPR-10411
-
由 Sam Brannen 提交于
This commit verifies that JdbcTestUtils.readScript() properly handles SQL comments prefixed by tab characters. Issue: SPR-10330
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
This commit introduces a deleteFromTableWhere() convenience method in AbstractTransactionalJUnit4SpringContextTests and AbstractTransactionalTestNGSpringContextTests that delegates to the recently introduced method of the same name in JdbcTestUtils. Issue: SPR-10639
-
由 Sam Brannen 提交于
Issue: SPR-10638
-
- 08 6月, 2013 1 次提交
-
-
由 Sam Brannen 提交于
-
- 05 6月, 2013 3 次提交
-
-
由 Phillip Webb 提交于
Defer @Conditional processing on @Configuration classes until the bean definitions are loaded, rather than when the @Configuration class is parsed. This provides better support for @Conditional implementations that inspect bean definitions. This commit also fixes some minor problems with original implementation and replaces the ConditionalAnnotationHelper class with ConditionEvaluator. Issue: SPR-10534
-
由 Phillip Webb 提交于
Update ConfigurationClassUtils to only consider beans with @Bean methods as 'lite' configuration candidates. Prior to this commit all @Component beans were considered 'lite' configuration candidates which could result in a large number of ConfigurationClass instance being created that would ultimately be ignored. Issue: SPR-10609
-
由 Phillip Webb 提交于
Update AnnotationBeanNameGenerator to only use the value attribute of a @Component meta-annotated annotation when it is a String. Issue: SPR-10580
-
- 04 6月, 2013 7 次提交
-
-
由 Phillip Webb 提交于
Remove duplicate Javadoc comment from PathResource that was accidentally introduced during the merge. Issue: SPR-10608
-
由 Phillip Webb 提交于
# By Philippe Marschall * SPR-10608-rebase: Introduce java.nio.file.Path based Resource
-
由 Philippe Marschall 提交于
Develop new org.springframework.core.io.Resource implementation backed by java.nio.file.Path. Primarily developed to allow custom file system implementations to be used with Spring. Since the minimum requirement for Spring is still Java 6 the existing FileSystemResource can't be retrofitted (and no #getPath method can be added to the Resource interface). Unlike FileSystemResource, PathResource delegates to the underlying file system instead of StringUtils. It has therefore slightly different semantics. First, when building relative resources via createRelative the relative path will apply to this path (like URL or Unix). Second, equality is delegated to the underlying file system provider so it's case-insensitive on Windows. Issue: SPR-10608
-
由 Phillip Webb 提交于
# By Stevo Slavic * SPR-10571: Replace MaxPermSize use in build scripts
-
由 Stevo Slavic 提交于
Since JDK 8 is required to build Spring framework 4, and permanent generation is gone from Java 8, to eliminate warnings about no longer available MaxPermSize switch, it should be removed or replaced with new MaxMetaspaceSize switch. This fix replaces old with new switch to limit the amount of native memory used for class metadata. Issue: SPR-10571
-
由 Phillip Webb 提交于
Add support for the EnvironmentAware interface with ImportSelector and ImportBeanDefinitionRegistrar implementations. Issue: SPR-10602
-
由 Phillip Webb 提交于
Test property placeholder with multiple locations and default values. Issue: SPR-10619
-
- 31 5月, 2013 2 次提交
-
-
由 Carson McDonald 提交于
- cherry-pick of pull request #257, which originally applied to 3.2.x
-
由 Rossen Stoyanchev 提交于
-
- 29 5月, 2013 1 次提交
-
-
由 Phillip Webb 提交于
Issue: SPR-10394
-
- 28 5月, 2013 4 次提交
-
-
由 Chris Beams 提交于
# By Chris Beams (1) and Dave Syer (1) * SPR-10579: Polish pull request #291 per committer guidelines Make CommandLinePropertySource enumerable
-
由 Chris Beams 提交于
- Update Apache license headers - Remove trailing whitespace - Edit original commit comment to use 'Issue:' syntax - Revert use of diamond operator (<>) in main sources See committer guidelines at https://github.com/SpringSource/spring-framework/blob/master/CONTRIBUTING.md Issue: SPR-10579
-
由 Dave Syer 提交于
JOpt 4.4 has enumerable options, so this change can be made if we upgrade. The only awkward thing is that JOpt allows aliases for options, so we have to pick one to avoid double counting. This implementation picks the last one in the list which is the alphebtically last of the long options, if there are any (e.g. "o1", "option1" returns "option1"). Most of the time there will only be one or two aliases for each option so it won't matter. Issue: SPR-10579
-
由 Chris Beams 提交于
-
- 26 5月, 2013 1 次提交
-
-
由 Sam Brannen 提交于
-
- 23 5月, 2013 2 次提交
-
-
由 Rob Winch 提交于
The submitted pull requests for SPR-10572 did not build. This commit fixes the MergePlugin to create from configurations rather than the project. It also removes unnecessarily added code that was commented out. Issue: SPR-10572
-
由 Stevo Slavic 提交于
Recently Spring framework build has been updated to use Gradle 1.6. With the new version some of the Gradle APIs have been deprecated. These deprecated APIs have been used by Spring build specific Gradle plugins, which resulted in deprecation warnings in build output. This patch changes Spring build specific Gradle plugins to use new Gradle APIs instead of deprecated ones. Even after this change build still produces warnings about Gradle deprecated APIs being used. These come from Spring shared Gradle plugins and other 3rd party Gradle plugins in use, like Gradle Artifactory Plugin (GAP), which are still not updated to Gradle 1.6. Related tickets for updating of these plugins to Gradle 1.6 are GRADLE-53 and GAP-144, and once they get resolved Spring framework build should further be updated. Issue: SPR-10572
-
- 22 5月, 2013 5 次提交
-
-
由 Chris Beams 提交于
-
由 Chris Beams 提交于
Update README adding explicit JDK instructions
-
由 Chris Beams 提交于
-
由 Chris Beams 提交于
Re-order subsections to make it clear that running a full `./gradlew build` is not necessary just to import projects into your IDE or to build and install jars to your .m2 cache.
-
由 Dave Syer 提交于
-
- 18 5月, 2013 1 次提交
-
-
由 Spring Buildmaster 提交于
-
- 17 5月, 2013 4 次提交
-
-
由 Spring Buildmaster 提交于
-
由 Phillip Webb 提交于
Add a test to ensure that the CI server does not accidentally build with the wrong JDK version. Issue: SPR-10569
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-