Russell Howe created MCOMPILER-385:
--------------------------------------
Summary: Minor performance improvements in CompilerMojo
Key: MCOMPILER-385
URL: https://issues.apache.org/jira/browse/MCOMPILER-385
Project: Maven Compiler Plugin
Issue Type: Improvement
Reporter: Russell Howe
There are a couple of opportunities to improve performance and simplify
CompilerMojo's preparePaths() method.
A StringBuilder is used to concatenate 3 strings. String.format() will be
neater here.
Secondly, the compilerArgs array is checked for null and initialised if so in
two separate places. Since this check is always performed, doing it earlier
will allow one check to be removed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)