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/release18.12@1859124 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -89,12 +89,12 @@ public final class Observable {
|
||||
|
||||
/**
|
||||
* Notify all of the observers.
|
||||
* <p>Each <code>Observer</code> has its <code>update</code> method called with two
|
||||
* arguments: this observable object and <code>null</code>. In other
|
||||
* <p>Each {@code Observer} has its {@code update} method called with two
|
||||
* arguments: this observable object and {@code null}. In other
|
||||
* words, this method is equivalent to:
|
||||
* </p>
|
||||
* <blockquote>
|
||||
* <tt>notifyObservers(null)</tt>
|
||||
* {@code notifyObservers(null)}
|
||||
* </blockquote>
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -536,7 +536,7 @@ public class StringUtil {
|
||||
/** Converts operator substitutions (@and, @or, etc) back to their original form.
|
||||
* <p>OFBiz script syntax provides special forms of common operators to make
|
||||
* it easier to embed logical expressions in XML</p>
|
||||
* <table border="1" cellpadding="2">
|
||||
* <table>
|
||||
* <caption>OFBiz XML operators</caption>
|
||||
* <tr><th>OFBiz operator</th><th>Substitution</th></tr>
|
||||
* <tr><td><strong>@and</strong></td><td>&&</td></tr>
|
||||
|
||||
@@ -1168,11 +1168,12 @@ public final class UtilDateTime {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a copy of <code>date</code> that cannot be modified.
|
||||
* Returns a copy of {@code date} that cannot be modified.
|
||||
* Attempts to modify the returned date will result in an
|
||||
* <tt>UnsupportedOperationException</tt>.
|
||||
* {@code UnsupportedOperationException}.
|
||||
*
|
||||
* @param date
|
||||
* @param date the date to copy
|
||||
* @return an immutable copy of {@code date}.
|
||||
*/
|
||||
public static Date unmodifiableDate(Date date) {
|
||||
if (date instanceof ImmutableDate) {
|
||||
|
||||
@@ -56,7 +56,8 @@ import org.xml.sax.SAXException;
|
||||
/** Implements Unified Expression Language functions.
|
||||
* <p>Built-in functions are divided into a number of
|
||||
* namespace prefixes:</p>
|
||||
* <table border="1" summary="">
|
||||
* <table border="1">
|
||||
* <caption>Miscellaneous date/time functions</caption>
|
||||
* <tr><td colspan="2"><b><code>date:</code> contains miscellaneous date/time functions</b></td></tr>
|
||||
* <tr><td><code>date:second(Timestamp, TimeZone, Locale)</code></td><td>Returns the second value of <code>Timestamp</code> (0 - 59).</td></tr>
|
||||
* <tr><td><code>date:minute(Timestamp, TimeZone, Locale)</code></td><td>Returns the minute value of <code>Timestamp</code> (0 - 59).</td></tr>
|
||||
|
||||
Reference in New Issue
Block a user