Fix javadoc warnings related to non-existing parameter names.

This commit is contained in:
Pascal Schumacher 2020-05-22 10:49:39 +02:00
parent 62cfe83e9d
commit efcca7d062
10 changed files with 11 additions and 30 deletions

View File

@ -1037,7 +1037,7 @@ public class PolicyEntry extends DestinationMapEntry {
/** /**
* Sets the amount of time a destination is inactive before it is marked for GC * Sets the amount of time a destination is inactive before it is marked for GC
* *
* @param inactiveTimoutBeforeGC * @param inactiveTimeoutBeforeGC
* time in milliseconds to configure as the inactive timeout. * time in milliseconds to configure as the inactive timeout.
*/ */
public void setInactiveTimeoutBeforeGC(long inactiveTimeoutBeforeGC) { public void setInactiveTimeoutBeforeGC(long inactiveTimeoutBeforeGC) {

View File

@ -30,8 +30,6 @@ public class MessageStoreSubscriptionStatistics extends AbstractMessageStoreStat
/** /**
* @param enabled * @param enabled
* @param countDescription
* @param sizeDescription
*/ */
public MessageStoreSubscriptionStatistics(boolean enabled) { public MessageStoreSubscriptionStatistics(boolean enabled) {
super(enabled, "The number of messages or this subscription in the message store", super(enabled, "The number of messages or this subscription in the message store",
@ -99,8 +97,6 @@ public class MessageStoreSubscriptionStatistics extends AbstractMessageStoreStat
/** /**
* @param enabled * @param enabled
* @param countDescription
* @param sizeDescription
*/ */
public SubscriptionStatistics(boolean enabled) { public SubscriptionStatistics(boolean enabled) {
super(enabled, "The number of messages or this subscription in the message store", super(enabled, "The number of messages or this subscription in the message store",

View File

@ -1382,15 +1382,6 @@ public class ActiveMQSession implements Session, QueueSession, TopicSession, Sta
return new ActiveMQTopic(topicName); return new ActiveMQTopic(topicName);
} }
/**
* Creates a <CODE>QueueBrowser</CODE> object to peek at the messages on
* the specified queue.
*
* @param queue the <CODE>queue</CODE> to access
* @exception InvalidDestinationException if an invalid destination is
* specified
* @since 1.1
*/
/** /**
* Creates a durable subscriber to the specified topic. * Creates a durable subscriber to the specified topic.
* <P> * <P>

View File

@ -59,7 +59,7 @@ public interface LogWriter {
* @param log The log to be written to. * @param log The log to be written to.
* @param command The command to be logged. * @param command The command to be logged.
*/ */
public void logResponse (Logger log, Object response); public void logResponse (Logger log, Object command);
/** /**
* Writes a message to a log when an asynchronous equest command is sent. * Writes a message to a log when an asynchronous equest command is sent.
@ -85,7 +85,7 @@ public interface LogWriter {
/** /**
* Writes a message to a log when an exception is received. * Writes a message to a log when an exception is received.
* @param log The log to be written to. * @param log The log to be written to.
* @param command The command to be logged. * @param error The exception to be logged.
*/ */
public void logReceivedException (Logger log, IOException error); public void logReceivedException (Logger log, IOException error);

View File

@ -41,8 +41,7 @@ public interface DiscoveryAgent extends Service {
/** /**
* register a service * register a service
* @param name * @param name
* @param details * @throws IOException
* @throws JMSException
*/ */
void registerService(String name) throws IOException; void registerService(String name) throws IOException;

View File

@ -54,7 +54,7 @@ public class FailoverTransportFactory extends TransportFactory {
} }
/** /**
* @param location * @param compositData
* @return * @return
* @throws IOException * @throws IOException
*/ */

View File

@ -45,7 +45,7 @@ public class MockTransportFactory extends TransportFactory {
} }
/** /**
* @param location * @param compositData
* @return a new Transport instance. * @return a new Transport instance.
* @throws Exception * @throws Exception
*/ */

View File

@ -35,7 +35,7 @@ public class ResponseHolder {
/** /**
* Set the Response for this holder * Set the Response for this holder
* *
* @param response * @param r
* the response returned from the remote peer. * the response returned from the remote peer.
*/ */
public void setResponse(Response r) { public void setResponse(Response r) {

View File

@ -129,10 +129,8 @@ public class HashIndex<Key,Value> implements Index<Key,Value> {
/** /**
* Constructor * Constructor
* *
* @param directory * @param pageFile
* @param name * @param pageId
* @param indexManager
* @param numberOfBins
* @throws IOException * @throws IOException
*/ */
public HashIndex(PageFile pageFile, long pageId) throws IOException { public HashIndex(PageFile pageFile, long pageId) throws IOException {
@ -399,10 +397,11 @@ public class HashIndex<Key,Value> implements Index<Key,Value> {
public Marshaller<Value> getValueMarshaller() { public Marshaller<Value> getValueMarshaller() {
return valueMarshaller; return valueMarshaller;
} }
/** /**
* Set the marshaller for value objects * Set the marshaller for value objects
* *
* @param marshaller * @param valueMarshaller
*/ */
public void setValueMarshaller(Marshaller<Value> valueMarshaller) { public void setValueMarshaller(Marshaller<Value> valueMarshaller) {
this.valueMarshaller = valueMarshaller; this.valueMarshaller = valueMarshaller;

View File

@ -160,10 +160,6 @@ public class ActiveMQConnectionRequestInfo implements ConnectionRequestInfo, Ser
return true; return true;
} }
/**
* @param i
* @return
*/
private boolean notEqual(Object o1, Object o2) { private boolean notEqual(Object o1, Object o2) {
return (o1 == null ^ o2 == null) || (o1 != null && !o1.equals(o2)); return (o1 == null ^ o2 == null) || (o1 != null && !o1.equals(o2));
} }