Vampire commented on code in PR #707:
URL: https://github.com/apache/maven-site/pull/707#discussion_r1970215277
##########
content/apt/pom.apt.vm:
##########
@@ -436,20 +436,20 @@ mvn install:install-file -Dfile=non-maven-proj.jar
-DgroupId=some.group -Dartifa
* Numeric tokens have the usual ordering of integers.
* Qualifiers are first converted to lower case in the English locale.
- Then they are ordered as by the `compareTo()` method of
`java.lang.String`,
+ Then they are ordered as by the <<<compareTo()>>> method of
<<<java.lang.String>>>,
except for the following tokens which come first in this order:
- "<<<alpha>>>" \< "<<<beta>>>" \< "<<<milestone>>>" \< "<<<rc>>>" =
"<<<cr>>>" \< "<<<snapshot>>>" \< "" = "<<<final>>>" = "<<<ga>>>" \< "<<<sp>>>"
+ "<<<alpha>>>" \< "<<<beta>>>" \< "<<<milestone>>>" \< "<<<rc>>>" =
"<<<cr>>>" \< "<<<snapshot>>>" \< "" = "<<<final>>>" = "<<<ga>>>" =
"<<<release>>>" \< "<<<sp>>>"
* the "<<<alpha>>>", "<<<beta>>>" and "<<<milestone>>>" qualifiers can
respectively be shortened to "a", "b" and "m" when directly followed by a
number.
* Alphabetic tokens other than the special cases described above come
before numeric tokens.
- * Alphabetic tokens are compared in a case insensitive fashion in the
{{{https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html#ENGLISH}English
locale}}}. For example, "A" and "a" are treated the same as are "i" and "I"
and "é" and "É".
+ * Alphabetic tokens are compared in a case insensitive fashion in the
{{{https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html#ENGLISH}English
locale}}. For example, "<<<A>>>" and "<<<a>>>" are treated the same as are
"<<<i>>>" and "<<<I>>>" and "<<<é>>>" and "<<<É>>>".
* else "<<<.qualifier>>>" = "<<<-qualifier>>>" \< "<<<-number>>>" \<
"<<<.number>>>"
- * <<<alpha>>> = <<<a>>> < <<<beta>>> = <<<b>>> < <<<milestone>>> = <<<m>>> <
<<<rc>>> = <<<cr>>> < <<<snapshot>>> < '<<<>>>' = <<<final>>> = <<<ga>>> =
<<<release>>> \< <<<sp>>>
+ * <<<alpha>>> \< <<<a1>>> \< <<<beta>>> \< <<<b1>>> \< <<<milestone>>> \<
<<<m1>>> \< <<<rc>>> = <<<cr>>> \< <<<snapshot>>> \< <<<>>> = <<<final>>> =
<<<ga>>> = <<<release>>> \< <<<sp>>>
Review Comment:
`m1`, not `m`.
`m` is not special as well as `a` or `b`.
Only if followed by a digit.
This is described above and is also the actual behavior.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]