mirror of
https://github.com/apache/ant.git
synced 2025-05-19 06:24:47 +00:00
untabify
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@357121 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b7b59490a8
commit
1efb922bf5
@ -76,11 +76,11 @@ public class XMLFragment extends ProjectComponent implements DynamicElementNS {
|
||||
*/
|
||||
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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user