You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Martin Kočí (Created JIRA)" <ji...@apache.org> on 2012/02/20 21:49:34 UTC
[jira] [Created] (OWB-647) [PERF] Avoid unnecessary StringBuilder
instances - improve checkNullInstance, checkScopeType, ... methods
[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
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
[jira] [Assigned] (OWB-647) [PERF] Avoid unnecessary StringBuilder
instances - improve checkNullInstance, checkScopeType, ... methods
Posted by "Martin Kočí (Assigned JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OWB-647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Kočí reassigned OWB-647:
-------------------------------
Assignee: Martin Kočí
> [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čí
> Assignee: Martin Kočí
> Priority: Trivial
> Fix For: 1.1.4
>
> Attachments: OWB-647.patch
>
>
> 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
[jira] [Updated] (OWB-647) [PERF] Avoid unnecessary StringBuilder
instances - improve checkNullInstance, checkScopeType, ... methods
Posted by "Martin Kočí (Updated JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OWB-647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Kočí updated OWB-647:
----------------------------
Attachment: OWB-647.patch
> [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
>
> Attachments: OWB-647.patch
>
>
> 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
[jira] [Updated] (OWB-647) [PERF] Avoid unnecessary StringBuilder
instances - improve checkNullInstance, checkScopeType, ... methods
Posted by "Mark Struberg (Updated) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Resolved] (OWB-647) [PERF] Avoid unnecessary StringBuilder
instances - improve checkNullInstance, checkScopeType, ... methods
Posted by "Mark Struberg (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OWB-647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg resolved OWB-647.
-------------------------------
Resolution: Fixed
looks good, txs!
> [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čí
> Assignee: Martin Kočí
> Priority: Trivial
> Fix For: 1.1.4
>
> Attachments: OWB-647.patch
>
>
> 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