svn commit: r789396 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/cache/GenericWidgetOutput.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r789396 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/cache/GenericWidgetOutput.java

doogie-3
Author: doogie
Date: Mon Jun 29 17:45:41 2009
New Revision: 789396

URL: http://svn.apache.org/viewvc?rev=789396&view=rev
Log:
Strings are immuatable, no need to create a new copy of the string.

Modified:
    ofbiz/trunk/framework/widget/src/org/ofbiz/widget/cache/GenericWidgetOutput.java

Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/cache/GenericWidgetOutput.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/cache/GenericWidgetOutput.java?rev=789396&r1=789395&r2=789396&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/cache/GenericWidgetOutput.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/cache/GenericWidgetOutput.java Mon Jun 29 17:45:41 2009
@@ -25,7 +25,7 @@
     protected String output;
 
     public GenericWidgetOutput(String output) {
-        this.output = new String(output);
+        this.output = output;
     }
 
     public String toString() {