You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/05/01 06:30:33 UTC

[4/4] git commit: switch to XMLUtils. If we need XMLSerializer, we will need to check the license and then download it during builds

switch to XMLUtils.  If we need XMLSerializer, we will need to check the license and then download it during builds


Project: http://git-wip-us.apache.org/repos/asf/flex-blazeds/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-blazeds/commit/5f7c8cf6
Tree: http://git-wip-us.apache.org/repos/asf/flex-blazeds/tree/5f7c8cf6
Diff: http://git-wip-us.apache.org/repos/asf/flex-blazeds/diff/5f7c8cf6

Branch: refs/heads/master
Commit: 5f7c8cf6a8be4fa8a23ea86b11b8bee6eebbbd21
Parents: ac458b5
Author: Alex Harui <ah...@apache.org>
Authored: Wed Apr 30 21:29:33 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Apr 30 21:30:24 2014 -0700

----------------------------------------------------------------------
 qa/src/utils/XMLMerge.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/5f7c8cf6/qa/src/utils/XMLMerge.java
----------------------------------------------------------------------
diff --git a/qa/src/utils/XMLMerge.java b/qa/src/utils/XMLMerge.java
index 5bb1910..e708bbe 100644
--- a/qa/src/utils/XMLMerge.java
+++ b/qa/src/utils/XMLMerge.java
@@ -235,14 +235,14 @@ public class XMLMerge {
             */
 
             // Alternative #2 - everything on its own line including text.  Some extra spaces.  Looks strange.
-            /*
             XMLUtils.PrettyDocumentToWriter(doc, fileWriter);
             fileWriter.close();
-            */
+            
 
 
             // Alternative #3 - but without setPreserveSpace() it's all bunched together and
             // with setPreserveSpace() it's the same as the original.
+			/*
             OutputFormat format = new OutputFormat(doc);
             format.setLineWidth(65);
             format.setIndenting(true);
@@ -250,6 +250,7 @@ public class XMLMerge {
             //format.setPreserveSpace();
             org.apache.xml.serialize.XMLSerializer serializer = new XMLSerializer(fileWriter, format);
             serializer.serialize(doc);
+			*/
 
         } catch (FileNotFoundException fnf) {
             System.out.println("FILE NOT FOUND!!!" + filename);