diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2011-01-13 14:10:42 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2011-01-13 14:10:42 +0000 |
commit | b15df3801cf08b1b6baa7b42cfd2c0429c0cfb4d (patch) | |
tree | 6a3159f006564417882912af9cb54bb84a727f40 /sca-java-2.x/trunk/modules/builder/src | |
parent | de4fc8685bca646fc526b35d639ab64857e187be (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 'sca-java-2.x/trunk/modules/builder/src')
-rw-r--r-- | sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/PolicyAttachmentBuilderImpl.java | 6 |
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; } |