Skip to content

Commit

Permalink
Pre-sort statistics aggregate
Browse files Browse the repository at this point in the history
Sorting the aggregate used to generate statistics means there's no need
to sort by ID within the XSL transform, avoiding a probably JDK bug.
  • Loading branch information
iay committed Oct 4, 2024
1 parent 39a56a4 commit a5a56f5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion mdx/uk/beans.xml
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@
<bean id="flowConstraints" parent="ukf.FlowConstraintApplyingStage"
p:flowName="statistics"/>

<ref bean="assemble"/>
<ref bean="uk_assemble"/>
<ref bean="uk_generateStatistics"/>
<ref bean="uk_serializeStatistics"/>
</list>
Expand Down
1 change: 0 additions & 1 deletion mdx/uk/statistics.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -1780,7 +1780,6 @@
<xsl:if test="($show != 0) or ($n &lt;= $show.max)">
<ul>
<xsl:for-each select="$entities">
<xsl:sort select="@ID"/>
<li>
<xsl:value-of select="@ID"/>:
<code><xsl:value-of select="@entityID"/></code>
Expand Down

0 comments on commit a5a56f5

Please sign in to comment.