1. 30 6月, 2021 8 次提交
  2. 28 6月, 2021 1 次提交
  3. 25 6月, 2021 1 次提交
    • S
      Use StringBuilder.append(char) where possible · a2ef6bad
      Sam Brannen 提交于
      To slightly improve performance, this commit switches to
      StringBuilder.append(char) instead of StringBuilder.append(String)
      whenever we append a single character to a StringBuilder.
      
      Closes gh-27098
      a2ef6bad
  4. 24 6月, 2021 4 次提交
    • S
      ddbb7c1b
    • S
      Implement equals, hashCode, & toString in BeanMethod and *Metadata types · 2bc7a3aa
      Sam Brannen 提交于
      Prior to this commit, ConfigurationClass implemented equals(),
      hashCode(), and toString(), but BeanMethod did not.
      
      This commit introduces equals(), hashCode(), and toString()
      implementations in BeanMethod for consistency with ConfigurationClass
      to make it possible to use BeanMethod instances to index additional
      metadata as well.
      
      In order to properly implement equals() in BeanMethod, the method
      argument types are required, but these are not directly available in
      BeanMethod. However, they are available via ASM when processing @Bean
      methods. This commit therefore implements equals(), hashCode(), and
      toString() in SimpleMethodMetadata which BeanMethod delegates to.
      
      For completeness, this commit also implements equals(), hashCode(), and
      toString() in StandardClassMetadata, StandardMethodMetadata, and
      SimpleAnnotationMetadata.
      
      Closes gh-27076
      2bc7a3aa
    • S
      Fix bug in SimpleMethodMetadataReadingVisitor.Source.toString() · 882004fc
      Sam Brannen 提交于
      Prior to this commit, the toString() implementation did not separate
      method argument types with a comma or any form of separator, leading
      to results such as:
      
          org.example.MyClass.myMethod(java.lang.Stringjava.lang.Integer)
      
      instead of:
      
          org.example.MyClass.myMethod(java.lang.String,java.lang.Integer)
      
      Closes gh-27095
      882004fc
    • S
      Polishing · 1bc23678
      Sam Brannen 提交于
      1bc23678
  5. 23 6月, 2021 4 次提交
  6. 22 6月, 2021 7 次提交
  7. 21 6月, 2021 3 次提交
  8. 15 6月, 2021 7 次提交
  9. 11 6月, 2021 1 次提交
  10. 09 6月, 2021 4 次提交