[
https://issues.apache.org/jira/browse/TUSCANY-2667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Becker resolved TUSCANY-2667.
---------------------------------
Resolution: Fixed
Resolved at r712271 in trunk
> [PERF] - Avoid creating unnecessary objects
> -------------------------------------------
>
> Key: TUSCANY-2667
> URL: https://issues.apache.org/jira/browse/TUSCANY-2667
> Project: Tuscany
> Issue Type: Improvement
> Components: Java SCA Core Runtime
> Affects Versions: Java-SCA-1.3.2
> Environment: All
> Reporter: Dan Becker
> Assignee: Dan Becker
> Priority: Minor
>
> Performance - unvoid creating unnecessary objects.
> "Effective Java Second Edition" by Joshua Block, Item 5 has a good hint for
> avoiding unnecessary objects.
> This:
> String s = new String( "stringette" );
> should be replaced by
> String s = "stringette";
> This change aids in runtime optimizations and string literal sharing across
> object instances.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.