Commit 212db32e8a5939c907dba7a1e86ea89a9f1be73c

Authored by Gonzalo Aguilar Delgado
1 parent 66925d58

Solve all javadoc issues

level2-mq-api/src/main/java/com/level2/enterprise/nebula/mq/api/MediaType.java
... ... @@ -289,7 +289,7 @@ public class MediaType
289 289 * Compares obj to this media type to see if they are the same by comparing
290 290 * type, subtype and parameters. Note that the case-sensitivity of parameter
291 291 * values is dependent on the semantics of the parameter name,
292   - * @see <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7">HTTP/1.1</a>.
  292 + * @see <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7">HTTP/1.1</a>
293 293 * This method assumes that values are case-sensitive.
294 294 *
295 295 * @param obj the object to compare to
... ...
level2-rabbit-mq-impl/src/main/java/com/level2/enterprise/nebula/mq/processor/annotated/AnnotatedRabbitMQProcessorImpl.java
... ... @@ -48,8 +48,8 @@ public class AnnotatedRabbitMQProcessorImpl extends QueuedRabbitProcessingNodeIm
48 48  
49 49 /**
50 50 * It will return the class name or the name indicated by queueName annotation
51   - * @param target
52   - * @return
  51 + * @param target class request will be directed to
  52 + * @return a String with the queue name of the target
53 53 */
54 54 public String getQueueName(Object target)
55 55 {
... ... @@ -97,12 +97,6 @@ public class AnnotatedRabbitMQProcessorImpl extends QueuedRabbitProcessingNodeIm
97 97 return retval;
98 98 }
99 99  
100   - /**
101   - * Allocates worker if needed based on queue listening
102   - * @param queue
103   - * @param routingKey
104   - * @return
105   - */
106 100 protected boolean createTarget(Object target, QueueDescriptor queueHandle, String routingKey)
107 101 {
108 102 boolean retval = true;
... ...
level2-rabbit-mq-impl/src/main/java/com/level2/enterprise/nebula/mq/rpc/AnnotatedRabbitRPCImpl.java
... ... @@ -86,8 +86,8 @@ public class AnnotatedRabbitRPCImpl extends RabbitRPC implements AnnotatedRPC {
86 86  
87 87 /**
88 88 * It will return the class name or the name indicated by queueName annotation
89   - * @param target
90   - * @return
  89 + * @param target class request will be directed to
  90 + * @return a String with the queue name of the target
91 91 */
92 92 public String getQueueName(Object target)
93 93 {
... ...
level2-rabbit-mq-impl/src/main/java/com/level2/enterprise/nebula/mq/utils/BlockingJob.java
... ... @@ -20,7 +20,10 @@ public class BlockingJob&lt;T&gt; {
20 20  
21 21 private ResponseMessageJob job;
22 22  
23   - /** Instantiate a new BlockingJob waiting for a value of the specified type. */
  23 + /**
  24 + * Instantiate a new BlockingJob waiting for a value of the specified type.
  25 + * @param job to be used as response
  26 + */
24 27 public BlockingJob(ResponseMessageJob job) {
25 28 this.job=job;
26 29 }
... ... @@ -88,6 +91,7 @@ public class BlockingJob&lt;T&gt; {
88 91 *
89 92 * @param timeout timeout in milliseconds. -1 means 'infinity': never time out
90 93 * @return the waited-for value
  94 + * @throws TimeoutException
91 95 */
92 96 public synchronized T uninterruptibleGet(int timeout) throws TimeoutException {
93 97 long now = System.nanoTime() / NANOS_IN_MILLI;
... ...