Fixed: Fix javadoc build for OpenJDK 11

(OFBIZ-10757)

This removes HTML5 deprecated stuff such as ‘<tt>’ elements, and
‘cellpadding’ table attributes which were breaking the ‘:javadoc’
Gradle task when using OpenJDK 11.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release17.12@1859125 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mathieu Lirzin
2019-05-11 20:44:17 +00:00
parent 7c132521a0
commit d837b65d69
7 changed files with 24 additions and 25 deletions
@@ -33,25 +33,22 @@ public class AuthenticationComparator implements Comparator<Authenticator> {
/**
* Compares its two arguments for order. Returns a negative integer,
* zero, or a positive integer as the first argument is less than, equal
* to, or greater than the second.<p>
* to, or greater than the second.
* <p>
* The implementor must ensure that <tt>sgn(compare(x, y)) ==
* -sgn(compare(y, x))</tt> for all <tt>x</tt> and <tt>y</tt>. (This
* implies that <tt>compare(x, y)</tt> must throw an exception if and only
* if <tt>compare(y, x)</tt> throws an exception.)<p>
* </p>
* The implementor must ensure that {@code sgn(compare(x, y)) == -sgn(compare(y, x))}
* for all {@code x} and {@code y}. (This implies that {@code compare(x, y)}
* must throw an exception if and only if {@code compare(y, x)} throws an exception.)
* <p>
* The implementor must also ensure that the relation is transitive:
* <tt>((compare(x, y)&gt;0) &amp;&amp; (compare(y, z)&gt;0))</tt> implies
* <tt>compare(x, z)&gt;0</tt>.<p>
* </p>
* {@code (compare(x, y) > 0) && (compare(y, z) > 0)} implies
* {@code compare(x, z) > 0}.
* <p>
* Finally, the implementer must ensure that {@code compare(x, y) == 0}
* implies that {@code sgn(compare(x, z)) == sgn(compare(y, z))} for all
* {@code z}.
* <p>
* Finally, the implementer must ensure that <tt>compare(x, y)==0</tt>
* implies that <tt>sgn(compare(x, z))==sgn(compare(y, z))</tt> for all
* <tt>z</tt>.
* </p>
* It is generally the case, but <i>not</i> strictly required that
* <tt>(compare(x, y)==0) == (x.equals(y))</tt>. Generally speaking,
* {@code (compare(x, y) == 0) == x.equals(y)}. Generally speaking,
* any comparator that violates this condition should clearly indicate
* this fact. The recommended language is "Note: this comparator
* imposes orderings that are inconsistent with equals."