summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2011-01-13 14:10:42 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2011-01-13 14:10:42 +0000
commitb15df3801cf08b1b6baa7b42cfd2c0429c0cfb4d (patch)
tree6a3159f006564417882912af9cb54bb84a727f40
parentde4fc8685bca646fc526b35d639ab64857e187be (diff)
Switch the debugging statement (which remains commented out) round as you want to know the output before it's loaded.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1058572 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-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;
}