mirror of https://github.com/apache/ant-ivy
next line continue
This commit is contained in:
parent
426102ff4d
commit
c9058c78ae
|
|
@ -110,6 +110,9 @@
|
||||||
<property name="allowUnchecked" value="true"/>
|
<property name="allowUnchecked" value="true"/>
|
||||||
</module>
|
</module>
|
||||||
-->
|
-->
|
||||||
|
<module name="OneStatementPerLine">
|
||||||
|
<property name="treatTryResourcesAsStatement" value="true"/>
|
||||||
|
</module>
|
||||||
<module name="SimplifyBooleanExpression"/>
|
<module name="SimplifyBooleanExpression"/>
|
||||||
<module name="SimplifyBooleanReturn"/>
|
<module name="SimplifyBooleanReturn"/>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -412,7 +412,9 @@ public final class XmlModuleDescriptorUpdater {
|
||||||
write("<" + qName);
|
write("<" + qName);
|
||||||
if (options.isMerge() && path.equals("ivy-module")) {
|
if (options.isMerge() && path.equals("ivy-module")) {
|
||||||
for (int i = 0, n = attributes.getLength(); i < n; i += 1) {
|
for (int i = 0, n = attributes.getLength(); i < n; i += 1) {
|
||||||
if (attributes.getQName(i).startsWith("xmlns:")) continue;
|
if (attributes.getQName(i).startsWith("xmlns:")) {
|
||||||
|
continue; // written next from namespace map
|
||||||
|
}
|
||||||
write(" " + attributes.getQName(i) + "=\"" + substitute(settings, attributes.getValue(i)) + "\"");
|
write(" " + attributes.getQName(i) + "=\"" + substitute(settings, attributes.getValue(i)) + "\"");
|
||||||
}
|
}
|
||||||
Map<String, String> namespaces = options.getMergedDescriptor().getExtraAttributesNamespaces();
|
Map<String, String> namespaces = options.getMergedDescriptor().getExtraAttributesNamespaces();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue