1. 13 2月, 2014 1 次提交
    • S
      Test against CGLIB memory leak for method injection · f2a4537b
      Sam Brannen 提交于
      This commit introduces a test in XmlBeanFactoryTests that verifies that
      CGLIB generated subclasses for method injected beans are reused across
      bean factories for identical bean definitions. In other words, by
      verifying that the same CGLIB generated class is reused for identical
      bean definitions, we can be certain that Spring is no longer generating
      identical, duplicate classes that consume memory in the VM.
      
      Issue: SPR-10785, SPR-11420
      f2a4537b
  2. 12 2月, 2014 1 次提交
  3. 09 2月, 2014 2 次提交
  4. 08 2月, 2014 1 次提交
  5. 07 2月, 2014 1 次提交
  6. 04 2月, 2014 1 次提交
    • S
      Ensure all tests are executed in the Gradle build · b8ed2f49
      Sam Brannen 提交于
      Prior to this commit several test classes named "*Test" were not
      recognized as tests by the Gradle build. This is due to the configured
      inclusion of '**/*Tests.*' which follows Spring's naming convention for
      test classes.
      
      This commit addresses this issue by:
      
       - Renaming real test classes consistently to "*Tests".
       - Renaming internal test classes to "*TestCase".
       - Renaming @WebTest to @WebTestStereotype.
       - Disabling broken tests in AnnoDrivenStaticEntityMockingControlTest.
       - Modifying the Gradle build configuration so that classes ending in
         either "*Tests" or "*Test" are considered test classes.
      
      Issue: SPR-11384
      b8ed2f49
  7. 31 1月, 2014 1 次提交
  8. 27 1月, 2014 1 次提交
    • S
      Introduce value attribute in @RestController · 78542777
      Sam Brannen 提交于
      Stereotype annotations should support a 'value' attribute for
      specifying the name of the Spring-managed component; however,
      @RestController currently does not provide such an attribute.
      
      This commit introduces a 'value' attribute in @RestController so that
      developers can provide custom names for components annotated with
      @RestController.
      
      Issue: SPR-11360
      78542777
  9. 24 1月, 2014 1 次提交
  10. 23 1月, 2014 1 次提交
  11. 21 1月, 2014 2 次提交
  12. 14 1月, 2014 2 次提交
  13. 31 12月, 2013 1 次提交
  14. 20 12月, 2013 1 次提交
  15. 18 12月, 2013 1 次提交
  16. 17 12月, 2013 2 次提交
  17. 12 12月, 2013 2 次提交
  18. 11 12月, 2013 1 次提交
  19. 10 12月, 2013 3 次提交
  20. 09 12月, 2013 1 次提交
  21. 06 12月, 2013 1 次提交
  22. 04 12月, 2013 1 次提交
  23. 02 12月, 2013 2 次提交
  24. 27 11月, 2013 4 次提交
    • P
      Detect cache hit with multiple @Cachables · b0b40dad
      Phillip Webb 提交于
      Fix CacheAspectSupport to consider a cache hit from any of the multiple
      @Cachables that may have been specified using the @Caching annotation.
      
      Prior to this commit the following scenario would never produce a hit:
      
      	@Caching(cacheable = {
      		@Cacheable(value = "c1", unless = "#result.size() < 4"),
      		@Cacheable(value = "c2", unless = "#result.size() > 3")
      	})
      
      Issue: SPR-11124
      b0b40dad
    • P
      Consistent whitespace after imports · 043a41e3
      Phillip Webb 提交于
      Update code to have a consistent number of new-line characters after
      import statements.
      043a41e3
    • P
      General polish of new 4.0 classes · 15698860
      Phillip Webb 提交于
      Apply consistent styling to new classes introduced in Spring 4.0.
      
      - Javadoc line wrapping, whitespace and formatting
      - General code whitespace
      - Consistent Assert.notNull messages
      15698860
    • P
      Remove unused GlassFishLoadTimeWeaverTests · c5779e2e
      Phillip Webb 提交于
      Delete the unused GlassFishLoadTimeWeaverTests and in the process
      fix the "Unable to load JUnit4 runner to calculate Ignored test cases"
      Gradle error.
      
      Issue: SPR-10563
      c5779e2e
  25. 26 11月, 2013 1 次提交
    • 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
  26. 23 11月, 2013 1 次提交
  27. 22 11月, 2013 1 次提交
  28. 21 11月, 2013 1 次提交
  29. 11 11月, 2013 1 次提交
    • S
      Polish spring-context · d67fe1db
      Sam Brannen 提交于
       - Cache interceptor internals now operate on collections of
         <? extends Cache> instead of <Cache>.
       - Deleted unused imports.
       - Deleted dead code.
       - Suppressed warnings for resource leaks related to not closing
         ApplicationContexts in tests.
       - Suppressed further non-issue warnings in tests.
      d67fe1db