summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/sca/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java4
-rw-r--r--java/sca/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/java/sca/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java b/java/sca/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java
index c71a5875f4..2d023ab448 100644
--- a/java/sca/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java
+++ b/java/sca/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java
@@ -1306,7 +1306,7 @@ public class StandardTypesDatabindingTestCase {
}
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 @@ public class StandardTypesDatabindingTestCase {
}
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)));
diff --git a/java/sca/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java b/java/sca/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java
index dc49f0f407..6ed9026089 100644
--- a/java/sca/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java
+++ b/java/sca/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java
@@ -1318,7 +1318,7 @@ public class StandardTypesDatabindingTestCase {
}
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 @@ public class StandardTypesDatabindingTestCase {
}
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)));