javadoc: Fix doclint syntax errors

This commit is contained in:
Ville Skyttä 2016-10-09 17:39:29 +03:00 committed by Clebert Suconic
parent 9a439b4791
commit 65342a5ad2
5 changed files with 9 additions and 9 deletions

View File

@ -52,7 +52,7 @@ public class ThreadLeakCheckRule extends ExternalResource {
/**
* Override to set up your specific external resource.
*
* @throws if setup fails (which will disable {@code after}
* @throws Throwable if setup fails (which will disable {@code after})
*/
@Override
protected void before() throws Throwable {

View File

@ -103,8 +103,8 @@ public class DatabaseStorageConfiguration implements StoreConfiguration {
/**
* The {@link SQLProvider.Factory} used to communicate with the JDBC data store.
* It can be {@code null}. If the value is {@code null} and {@code dataSource} is set, the {@code {@link org.apache.activemq.artemis.jdbc.store.sql.GenericSQLProvider.Factory} will be user,
* else the type of the factory will be determined based on the {@code jdbcDriverClassName).
* It can be {@code null}. If the value is {@code null} and {@code dataSource} is set, the {@code {@link org.apache.activemq.artemis.jdbc.store.sql.GenericSQLProvider.Factory}} will be used,
* else the type of the factory will be determined based on the {@code jdbcDriverClassName}.
*
* @return the factory used to communicate with the JDBC data store.
*/

View File

@ -97,7 +97,7 @@ public interface PagingManager extends ActiveMQComponent, HierarchicalRepository
/**
* Add size at the global count level.
* if totalSize > globalMaxSize it will return true
* if totalSize > globalMaxSize it will return true
*/
PagingManager addSize(int size);

View File

@ -63,7 +63,7 @@ public class AmqpClient {
* connect attempt immediately and will fail if the remote peer cannot be reached.
*
* @throws Exception if an error occurs attempting to connect to the Broker.
* @returns a new connection object used to interact with the connected peer.
* @return a new connection object used to interact with the connected peer.
*/
public AmqpConnection connect() throws Exception {
@ -82,7 +82,7 @@ public class AmqpClient {
* changes applied before the <code>connect</code> method is invoked.
*
* @throws Exception if an error occurs attempting to connect to the Broker.
* @returns a new connection object used to interact with the connected peer.
* @return a new connection object used to interact with the connected peer.
*/
public AmqpConnection createConnection() throws Exception {
if (username == null && password != null) {
@ -218,7 +218,7 @@ public class AmqpClient {
*
* @param broker the address of the remote broker instance.
* @throws Exception if an error occurs attempting to connect to the Broker.
* @returns a new connection object used to interact with the connected peer.
* @return a new connection object used to interact with the connected peer.
*/
public static AmqpConnection connect(URI broker) throws Exception {
return connect(broker, null, null);
@ -231,7 +231,7 @@ public class AmqpClient {
* @param username the user name to use to connect to the broker or null for anonymous.
* @param password the password to use to connect to the broker, must be null if user name is null.
* @throws Exception if an error occurs attempting to connect to the Broker.
* @returns a new connection object used to interact with the connected peer.
* @return a new connection object used to interact with the connected peer.
*/
public static AmqpConnection connect(URI broker, String username, String password) throws Exception {
if (username == null && password != null) {

View File

@ -103,7 +103,7 @@ public interface Mechanism extends Comparable<Mechanism> {
String getPassword();
/**
* Sets any additional Mechanism specific properties using a Map<String, Object>
* Sets any additional Mechanism specific properties using a Map&lt;String, Object&gt;
*
* @param options the map of additional properties that this Mechanism should utilize.
*/