NO-JIRA: fix javadoc errors on JDK11+, enable CI javadoc check on JDK11+

This commit is contained in:
Robbie Gemmell 2021-06-02 16:58:25 +01:00
parent 815f383f9c
commit c993b5a0e9
4 changed files with 10 additions and 5 deletions

View File

@ -46,7 +46,12 @@ jobs:
cd examples
mvn install -Pexamples,noRun
- name: javadoc check (mvn javadoc:javadoc -Prelease on JDK 8)
- name: Javadoc Check (JDK8 / -Prelease)
if: matrix.java == '8'
run: |
mvn javadoc:javadoc -Prelease
- name: Javadoc Check (JDK 11+)
if: matrix.java != '8'
run: |
mvn javadoc:javadoc

View File

@ -55,7 +55,7 @@ public final class TransformerConfiguration implements Serializable {
* <p><ul>
* <li>class-name - a string value,
* <li>properties - an object containing string key-value pairs.
* </ul></p>
* </ul>
*
* @param jsonString json string
* @return the {@code TransformerConfiguration} created from the JSON-formatted input {@code String}

View File

@ -880,7 +880,7 @@ public interface ActiveMQServer extends ServiceComponent {
* This atomicity is necessary to prevent {@link #stop()} to stop the component right after adding it, but before
* starting it.
*
* @throw IllegalStateException if the state is {@link SERVER_STATE#STOPPED} or {@link SERVER_STATE#STOPPING}
* @throws IllegalStateException if the state is {@link SERVER_STATE#STOPPED} or {@link SERVER_STATE#STOPPING}
*/
void addExternalComponent(ActiveMQComponent externalComponent, boolean start) throws Exception;

View File

@ -73,8 +73,8 @@ public interface Queue extends Bindable,CriticalComponent {
void refDown(MessageReference messageReference);
/** Remove item with a supplied positivie (>= 0) ID.
* if the idSupplier return <0 the ID is considered a non value (null) and it will be ignored
/** Remove item with a supplied non-negative {@literal (>= 0) } ID.
* If the idSupplier returns {@literal < 0} the ID is considered a non value (null) and it will be ignored.
*
* @see org.apache.activemq.artemis.utils.collections.LinkedList#setIDSupplier(ToLongFunction) */
MessageReference removeWithSuppliedID(long id, ToLongFunction<MessageReference> idSupplier);