tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From becke...@apache.org
Subject svn commit: r712271 - in /tuscany/java/sca/itest/databindings: jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/ jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/
Date Fri, 07 Nov 2008 21:27:39 GMT
Author: beckerdo
Date: Fri Nov  7 13:27:39 2008
New Revision: 712271

URL: http://svn.apache.org/viewvc?rev=712271&view=rev
Log:
Implements some String instance optimizations.

Modified:
    tuscany/java/sca/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java
    tuscany/java/sca/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java

Modified: tuscany/java/sca/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java?rev=712271&r1=712270&r2=712271&view=diff
==============================================================================
--- tuscany/java/sca/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java
(original)
+++ tuscany/java/sca/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java
Fri Nov  7 13:27:39 2008
@@ -1306,7 +1306,7 @@
     }
 
     private void performTestNewSource(StandardTypesServiceClient serviceClient) throws Exception
{
-        String xml = new String("<a>A<b>B</b><c>C</c></a>");
+        String xml = "<a>A<b>B</b><c>C</c></a>";
         Source[] srcs = new Source[3];
         srcs[0] = new DOMSource(new String2Node().transform(xml, null));
         srcs[1] = new SAXSource(new InputSource(new StringReader(xml)));
@@ -1321,7 +1321,7 @@
     }
 
     private void performTestNewSourceArray(StandardTypesServiceClient serviceClient) throws
Exception {
-        String xml = new String("<a>A<b>B</b><c>C</c></a>");
+        String xml = "<a>A<b>B</b><c>C</c></a>";
         Source[] srcs = new Source[3];
         srcs[0] = new DOMSource(new String2Node().transform(xml, null));
         srcs[1] = new SAXSource(new InputSource(new StringReader(xml)));

Modified: tuscany/java/sca/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java?rev=712271&r1=712270&r2=712271&view=diff
==============================================================================
--- tuscany/java/sca/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java
(original)
+++ tuscany/java/sca/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java
Fri Nov  7 13:27:39 2008
@@ -1318,7 +1318,7 @@
     }
 
     private void performTestNewSource(StandardTypesServiceClient serviceClient) throws Exception
{
-        String xml = new String("<a>A<b>B</b><c>C</c></a>");
+        String xml = "<a>A<b>B</b><c>C</c></a>";
         Source[] srcs = new Source[3];
         srcs[0] = new DOMSource(new String2Node().transform(xml, null));
         srcs[1] = new SAXSource(new InputSource(new StringReader(xml)));
@@ -1333,7 +1333,7 @@
     }
 
     private void performTestNewSourceArray(StandardTypesServiceClient serviceClient) throws
Exception {
-        String xml = new String("<a>A<b>B</b><c>C</c></a>");
+        String xml = "<a>A<b>B</b><c>C</c></a>";
         Source[] srcs = new Source[3];
         srcs[0] = new DOMSource(new String2Node().transform(xml, null));
         srcs[1] = new SAXSource(new InputSource(new StringReader(xml)));



Mime
View raw message