ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r357121 - /ant/core/trunk/src/main/org/apache/tools/ant/util/XMLFragment.java
Date Fri, 16 Dec 2005 04:47:55 GMT
Author: bodewig
Date: Thu Dec 15 20:47:51 2005
New Revision: 357121

URL: http://svn.apache.org/viewcvs?rev=357121&view=rev
Log:
untabify

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/util/XMLFragment.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/XMLFragment.java
URL: http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/util/XMLFragment.java?rev=357121&r1=357120&r2=357121&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/util/XMLFragment.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/util/XMLFragment.java Thu Dec 15 20:47:51
2005
@@ -76,11 +76,11 @@
      */
     public Object createDynamicElement(String uri, String name, String qName) {
         Element e = null;
-	if (uri.equals("")) {
-	    e = doc.createElement(name);
-	} else {
-	    e = doc.createElementNS(uri, qName);
-	}
+        if (uri.equals("")) {
+            e = doc.createElement(name);
+        } else {
+            e = doc.createElementNS(uri, qName);
+        }
         fragment.appendChild(e);
         return new Child(e);
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message