[
https://issues.apache.org/jira/browse/CALCITE-7261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Nuyanzin resolved CALCITE-7261.
--------------------------------------
Fix Version/s: 1.42.0
Resolution: Fixed
> DiffRepository generation xml doesn't respect alphabetical order
> ----------------------------------------------------------------
>
> Key: CALCITE-7261
> URL: https://issues.apache.org/jira/browse/CALCITE-7261
> Project: Calcite
> Issue Type: Bug
> Components: testkit
> Reporter: Sergey Nuyanzin
> Assignee: Sergey Nuyanzin
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.42.0
>
>
> Especially often reproduced for existing empty files.
> For instance current expected is empty or absent (might be a case if just
> want to regenerate from scratch)
> then if a class has methods
> {code:java}
> @Test void testDiff() {
> ...
> }
> @Test void testmulti() {
> ...
> }
> @Test void testNull() {
> ...
> }
> {code}
> Here {{testmulti}} was intentionally written in lowercase to highlight
> another issue. While generation it compares names with ignoring case. At the
> same side while sorting in {{DiffRepository}} it uses lexicographical order
> without ignoring of case.
> So as a result generated xml for the class with methods above might result in
> a variety of versions and not stable.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)