summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/PolicyAttachmentBuilderImpl.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/PolicyAttachmentBuilderImpl.java b/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/PolicyAttachmentBuilderImpl.java
index 4d1a7d52b6..c7b48a47db 100644
--- a/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/PolicyAttachmentBuilderImpl.java
+++ b/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/PolicyAttachmentBuilderImpl.java
@@ -236,11 +236,11 @@ public class PolicyAttachmentBuilderImpl implements CompositeBuilder {
// Write the composite into a DOM document
processor.write(composite, writer, new ProcessorContext(registry));
writer.close();
-
- Document document = domHelper.load(sw.toString());
// Debugging
- //System.out.println("<!-- DOM to which XPath will be applies is -->\n" + sw.toString());
+ //System.out.println("<!-- DOM to which XPath will be applied is -->\n" + sw.toString());
+
+ Document document = domHelper.load(sw.toString());
return document;
}