Skip to content

Commit 2189b4b

Browse files
committed
JavaDoc fixes
1 parent e412d90 commit 2189b4b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/main/java/net/greghaines/jesque/worker/Worker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* ...
3434
* worker.end();
3535
* t.join();
36-
* </pre></p>
36+
* </pre>
3737
* @author Greg Haines
3838
*/
3939
public interface Worker extends JobExecutor, Runnable {

src/main/java/net/greghaines/jesque/worker/WorkerImpl.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ protected static void checkQueues(final Iterable<String> queues) {
122122
private final JobFactory jobFactory;
123123

124124
/**
125-
* Creates a new WorkerImpl, which creates it's own connection to Redis using values from the config.<br/>
125+
* Creates a new WorkerImpl, which creates it's own connection to Redis using values from the config.<br>
126126
* The worker will only listen to the supplied queues and execute jobs that are provided by the given job factory.
127127
* @param config used to create a connection to Redis and the package prefix for incoming jobs
128128
* @param queues the list of queues to poll
@@ -134,7 +134,7 @@ public WorkerImpl(final Config config, final Collection<String> queues, final Jo
134134
}
135135

136136
/**
137-
* Creates a new WorkerImpl, with the given connection to Redis.<br/>
137+
* Creates a new WorkerImpl, with the given connection to Redis.<br>
138138
* The worker will only listen to the supplied queues and execute jobs that are provided by the given job factory.
139139
* @param config used to create a connection to Redis and the package prefix for incoming jobs
140140
* @param queues the list of queues to poll
@@ -173,7 +173,7 @@ public long getWorkerId() {
173173
}
174174

175175
/**
176-
* Starts this worker. Registers the worker in Redis and begins polling the queues for jobs.<br/>
176+
* Starts this worker. Registers the worker in Redis and begins polling the queues for jobs.<br>
177177
* Stop this worker by calling end() on any thread.
178178
*/
179179
@Override
@@ -664,10 +664,10 @@ protected String failMsg(final Throwable thrwbl, final String queue, final Job j
664664

665665
/**
666666
* Create and serialize a WorkerStatus.
667-
* @param queuethe queue the Job came from
667+
* @param queue the queue the Job came from
668668
* @param job the Job currently being processed
669669
* @return the JSON representation of a new WorkerStatus
670-
* @throws IOExceptionif there was an error serializing the WorkerStatus
670+
* @throws IOException if there was an error serializing the WorkerStatus
671671
*/
672672
protected String statusMsg(final String queue, final Job job) throws IOException {
673673
final WorkerStatus status = new WorkerStatus();

0 commit comments

Comments
 (0)