maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MCOMPILER-385) Minor performance improvements in CompilerMojo
Date Mon, 20 May 2019 06:44:00 GMT

    [ https://issues.apache.org/jira/browse/MCOMPILER-385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16843696#comment-16843696
] 

Hudson commented on MCOMPILER-385:
----------------------------------

Build succeeded in Jenkins: Maven TLP » maven-compiler-plugin » master #107

See https://builds.apache.org/job/maven-box/job/maven-compiler-plugin/job/master/107/

> 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
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Trivial
>             Fix For: 3.8.2
>
>
> 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)

Mime
View raw message