commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Bluett-Duncan <jbluettdun...@gmail.com>
Subject [lang] Applying IntelliJ IDEA refactorings
Date Tue, 04 Jul 2017 23:18:49 GMT
Hi all,

I'm interested in going through commons-lang with IntelliJ IDEA and
applying small refactorings to make the code base easier to read and/or
more performant (and also make IntelliJ IDEA itself report less warnings).

Is this something that the [lang] team would find useful?

Examples of refactorings that I could apply include:

   - Replace manual array-to-collection copy operations with
   `Collections.addAll()`.
   - Replace simple `String{Buffer,Builder}` usages with direct `String`
   concatenations or `String.format()`.
   - Simplifying boolean expressions like `obj instanceof CharRange ==
   false` to `!(obj instanceof CharRange)`.


Cheers,
Jonathan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message