maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy (*$^¨%`£) (JIRA) <j...@apache.org>
Subject [jira] [Assigned] (MCOMPILER-385) Minor performance improvements in CompilerMojo
Date Mon, 20 May 2019 06:35:00 GMT

     [ https://issues.apache.org/jira/browse/MCOMPILER-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Olivier Lamy (*$^¨%`£) reassigned MCOMPILER-385:
------------------------------------------------

    Assignee: Olivier Lamy (*$^¨%`£)

> 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
>
> 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