Skip to content

Commit fee70a9

Browse files
authored
Merge branch 'master' into third-party
2 parents 7cfaee2 + fd1de05 commit fee70a9

File tree

6 files changed

+18
-4
lines changed

6 files changed

+18
-4
lines changed

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,7 @@ Tom Eugelink
433433
Tom May
434434
Tomasz Bech
435435
Tomáš Zezula
436+
Tony Gravagno
436437
Trejkaz Xaoza
437438
Ulrich Schmidt
438439
Uwe Schindler

WHATSNEW

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ Fixed bugs:
3434
then the forked mode launch would fail.
3535
Bugzilla Report 63958
3636

37+
* Fixes an issue in AntStructure where an incorrect DTD was being generated.
38+
Github Pull Request #116
39+
40+
* Fixes an incorrect variable name usage in junit-frames-xalan1.xsl.
41+
Github Pull Request #117
42+
3743
Other changes:
3844
--------------
3945

contributors.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1783,6 +1783,10 @@
17831783
<first>Tomáš</first>
17841784
<last>Zezula</last>
17851785
</name>
1786+
<name>
1787+
<first>Tony</first>
1788+
<last>Gravagno</last>
1789+
</name>
17861790
<name>
17871791
<first>Trejkaz</first>
17881792
<last>Xaoza</last>

src/etc/checkstyle/checkstyle-config

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
2+
<!DOCTYPE module PUBLIC
3+
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
4+
"https://checkstyle.org/dtds/configuration_1_3.dtd">
35
<!--
46
Licensed to the Apache Software Foundation (ASF) under one or more
57
contributor license agreements. See the NOTICE file distributed with

src/etc/junit-frames-xalan1.xsl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
xmlns:lxslt="http://xml.apache.org/xslt"
44
xmlns:redirect="org.apache.xalan.lib.Redirect"
55
xmlns:string="xalan://java.lang.String"
6+
xmlns:stringutils="xalan://org.apache.tools.ant.util.StringUtils"
67
extension-element-prefixes="redirect">
78
<xsl:output method="html" indent="yes" encoding="UTF-8"/>
89
<xsl:decimal-format decimal-separator="." grouping-separator=","/>
@@ -443,7 +444,7 @@ h6 {
443444
<xsl:variable name="testCount" select="sum(testsuite/@tests)"/>
444445
<xsl:variable name="errorCount" select="sum(testsuite/@errors)"/>
445446
<xsl:variable name="failureCount" select="sum(testsuite/@failures)"/>
446-
<xsl:variable name="skippedCount" select="sum(testsuite/@skipped)"/>
447+
<xsl:variable name="skipCount" select="sum(testsuite/@skipped)"/>
447448
<xsl:variable name="timeCount" select="sum(testsuite/@time)"/>
448449
<xsl:variable name="successRate" select="($testCount - $failureCount - $errorCount) div $testCount"/>
449450
<table class="details" border="0" cellpadding="5" cellspacing="2" width="95%">

src/main/org/apache/tools/ant/taskdefs/AntStructure.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ public void printElementDecl(final PrintWriter out, final Project p,
324324
|| !areNmtokens(values)) {
325325
sb.append("CDATA ");
326326
} else {
327-
sb.append(Stream.of(values).collect(joinAlts));
327+
sb.append(Stream.of(values).collect(joinAlts)).append(" ");
328328
}
329329
} catch (final InstantiationException | IllegalAccessException ie) {
330330
sb.append("CDATA ");
@@ -337,7 +337,7 @@ public void printElementDecl(final PrintWriter out, final Project p,
337337
sb.append("CDATA ");
338338
} else {
339339
sb.append(Stream.of(values).map(Enum::name)
340-
.collect(joinAlts));
340+
.collect(joinAlts)).append(" ");
341341
}
342342
} catch (final Exception x) {
343343
sb.append("CDATA ");

0 commit comments

Comments
 (0)