You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (Updated) (JIRA)" <ji...@apache.org> on 2012/03/30 11:22:33 UTC
[jira] [Updated] (OWB-647) [PERF] Avoid unnecessary StringBuilder
instances - improve checkNullInstance, checkScopeType, ... methods
[ https://issues.apache.org/jira/browse/OWB-647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg updated OWB-647:
------------------------------
Fix Version/s: 1.1.4
> [PERF] Avoid unnecessary StringBuilder instances - improve checkNullInstance, checkScopeType, ... methods
> ---------------------------------------------------------------------------------------------------------
>
> Key: OWB-647
> URL: https://issues.apache.org/jira/browse/OWB-647
> Project: OpenWebBeans
> Issue Type: Improvement
> Affects Versions: 1.1.4
> Environment: OWB trunk
> Reporter: Martin Kočí
> Priority: Trivial
> Fix For: 1.1.4
>
>
> methods like org.apache.webbeans.component.ProducerMethodBean.checkNullInstance(Object) or org.apache.webbeans.component.ProducerMethodBean.checkScopeType() create StringBuilder instance in every invocation, but that String is useful only in a buggy application
> Improve check* method with support of {0} {1} placeholders (like java.util.logging has) or/and combine those checks with production/development project stage check.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira