Jonathan Bluett-Duncan created LANG-1335:
--------------------------------------------

             Summary: Apply valid "Code Inspection" results from IntelliJ IDEA 
to codebase
                 Key: LANG-1335
                 URL: https://issues.apache.org/jira/browse/LANG-1335
             Project: Commons Lang
          Issue Type: Improvement
            Reporter: Jonathan Bluett-Duncan
            Priority: Trivial


Hi all. I am interested in going through common-lang's code base with IntelliJ 
IDEA and applying a number of automatic refactorings that would help to make 
the code base easier to read, a little more performant, or overall more 
maintainable (and also make IntelliJ IDEA itself report less warnings). Is this 
something that the commons-lang team would find useful?

Examples of refactorings that I could apply include:
- Replace manual array-to-collection copy operations with 
`Collections.addAll()`.
- Replacing simple `String(Buffer|Builder)` usages with direct `String` 
concatenations or `String.format()`.
- Removing redundant type arguments, e.g. `Arrays.<E> asList(values)` -> 
`Arrays.asList(values)`.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to