You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Juan Pablo Santos Rodríguez (Jira)" <ji...@apache.org> on 2021/03/09 21:31:00 UTC

[jira] [Resolved] (JSPWIKI-1144) Minor performance improvement

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

Juan Pablo Santos Rodríguez resolved JSPWIKI-1144.
--------------------------------------------------
    Fix Version/s: 2.11.0
       Resolution: Fixed

merged in 2.11.0-git-04.

> Minor performance improvement
> -----------------------------
>
>                 Key: JSPWIKI-1144
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1144
>             Project: JSPWiki
>          Issue Type: Improvement
>            Reporter: Arturo Bernal
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 2.11.0
>
>
> * Add final on private variable --> just try to make all class/var read-only
>  * Remove Redundant initializer 
>  * Use isEmpty() instead length()
>  * Avoid use pre-size array



--
This message was sent by Atlassian Jira
(v8.3.4#803005)