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. 10 12月, 2013 2 次提交
  3. 06 11月, 2013 1 次提交
  4. 23 8月, 2013 1 次提交
  5. 08 5月, 2013 1 次提交
    • J
      Introduced 4.0 versions of all XML configuration schemas · 0fc5a5d9
      Juergen Hoeller 提交于
      Removed spring-beans.dtd (the 1.x variant) and spring-oxm-1.5.xsd (pre-Spring-Framework variant), in order to raise the backwards compatibility limit a little bit at least. We'll keep supporting the 2.0 and 2.5 xsd versions for the time being, as well as spring-beans-2.0.dtd.
      
      Removed the ref 'local' attribute in spring-beans-4.0.xsd since 'local' lost its differentiating role to a regular bean ref back in the 3.1 days when we started allowing for the same bean id to reappear in a different beans section of the same configuration file (with a different profile).
      
      Issue: SPR-10437
      0fc5a5d9
  6. 07 2月, 2013 1 次提交
  7. 26 1月, 2013 1 次提交
  8. 04 1月, 2013 1 次提交
    • P
      Remove duplicate test classes · 42b5d6dd
      Phillip Webb 提交于
      Prior to this commit many test utility classes and sample beans were
      duplicated across projects. This was previously necessary due to the
      fact that dependent test sources were not shared during a gradle
      build. Since the introduction of the 'test-source-set-dependencies'
      gradle plugin this is no longer the case.
      
      This commit attempts to remove as much duplicate code as possible,
      co-locating test utilities and beans in the most suitable project.
      For example, test beans are now located in the 'spring-beans'
      project.
      
      Some of the duplicated code had started to drift apart when
      modifications made in one project where not ported to others. All
      changes have now been consolidated and when necessary existing tests
      have been refactored to account for the differences.
      
      Conflicts:
      	spring-beans/src/test/java/org/springframework/beans/factory/ConcurrentBeanFactoryTests.java
      	spring-beans/src/test/java/org/springframework/beans/factory/support/BeanFactoryGenericsTests.java
      	spring-beans/src/test/java/org/springframework/beans/support/PagedListHolderTests.java
      42b5d6dd
  9. 02 1月, 2013 1 次提交
    • P
      Fix [deprecation] compiler warnings · 6626a387
      Phillip Webb 提交于
      Fix deprecation compiler warnings by refactoring code or applying
      @SuppressWarnings("deprecation") annotations. JUnit tests of
      internally deprecated classes are now themselves marked as
      @Deprecated.
      
      Numerous EasyMock deprecation warnings will remain until the
      migration to mockito can be completed.
      6626a387
  10. 29 12月, 2012 6 次提交
    • C
      Update Apache license headers for affected sources · 8472a2b2
      Chris Beams 提交于
      8472a2b2
    • C
      Add @Override annotations to test sources · 4c8cd7b0
      Chris Beams 提交于
      Issue: SPR-10129
      4c8cd7b0
    • C
      Fix various compiler warnings in spring-context · 40357be7
      Chris Beams 提交于
      All warning types other than [deprecation] and [unchecked] are now
      fixed in spring-context/src/test
      40357be7
    • C
      Fix [rawtypes] compiler warnings · 8d2e125e
      Chris Beams 提交于
       - Suppress rawtypes warnings for src/main
       - Enable rawtypes warnings for src/test
      
      This commit attempts to to resolve all rawtypes problems across tests as
      aggressively as possible, i.e. without regard for binary compatibility,
      whereas main sources must be treated much more cautiously with an eye
      toward compatibility.
      8d2e125e
    • P
      Fix [serial] compiler warnings · b0986049
      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.
      b0986049
    • P
      Remove trailing whitespace in source files · 1762157a
      Phillip Webb 提交于
        find . -type f -name "*.java" -or -name "*.aj" | \
          xargs perl -p -i -e "s/[ \t]*$//g" {} \;
      
      Issue: SPR-10127
      1762157a
  11. 21 12月, 2012 1 次提交
  12. 31 10月, 2012 1 次提交
  13. 28 10月, 2012 2 次提交
    • G
      Allow 'arg-type' matches against element body · 0709c033
      Gareth Davis 提交于
      Allow the body of 'arg-type' XML elements to be used as an alternative to
      'match' attribute when defining a 'replace-method' in XML configuration.
      
      This change has been introduced primarily to support the samples printed
      in the Apress 'Pro Spring' book.
      
      Issue: SPR-9812
      0709c033
    • P
      Polish whitespace · 376eeed8
      Phillip Webb 提交于
      376eeed8
  14. 31 1月, 2012 1 次提交
    • C
      Rename modules {org.springframework.*=>spring-*} · 02a4473c
      Chris Beams 提交于
      This renaming more intuitively expresses the relationship between
      subprojects and the JAR artifacts they produce.
      
      Tracking history across these renames is possible, but it requires
      use of the --follow flag to `git log`, for example
      
          $ git log spring-aop/src/main/java/org/springframework/aop/Advisor.java
      
      will show history up until the renaming event, where
      
          $ git log --follow spring-aop/src/main/java/org/springframework/aop/Advisor.java
      
      will show history for all changes to the file, before and after the
      renaming.
      
      See http://chrisbeams.com/git-diff-across-renamed-directories
      02a4473c