Skip to content

Commit a7ddb13

Browse files
Fix mvn javadoc errors
1 parent 85d4681 commit a7ddb13

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

src/main/java/com/rabbitmq/client/Connection.java

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -259,24 +259,26 @@ public interface Connection extends ShutdownNotifier, Closeable { // rename to A
259259
ExceptionHandler getExceptionHandler();
260260

261261
/**
262-
* Unique ID for this connection.
263-
* This ID should be unique, otherwise some services
262+
* Returns a unique ID for this connection.
263+
*
264+
* This ID must be unique, otherwise some services
264265
* like the metrics collector won't work properly.
265266
* This ID doesn't have to be provided by the client,
266-
* services that require it will assign it automatically
267-
* if it's not set.
268-
* @return
267+
* services that require it will be assigned automatically
268+
* if not set.
269+
*
270+
* @return unique ID for this connection.
269271
*/
270272
String getId();
271273

272274
/**
273-
* Set the unique ID for this connection.
274-
* This ID should be unique, otherwise some services
275+
* Sets a unique ID for this connection.
276+
*
277+
* This ID must be unique, otherwise some services
275278
* like the metrics collector won't work properly.
276279
* This ID doesn't have to be provided by the client,
277-
* services that require it will assign it automatically
278-
* if it's not set.
279-
* @return
280+
* services that require it will be assigned automatically
281+
* if not set.
280282
*/
281283
void setId(String id);
282284
}

src/main/java/com/rabbitmq/client/impl/recovery/RecoveryCanBeginListener.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@
1919

2020
/**
2121
* Used internally to indicate when connection recovery can
22-
* begin. See {@link <a href="https://github.com/rabbitmq/rabbitmq-java-client/issues/135">Issue 135 on GitHub</a>}.
22+
* begin.
2323
* This is package-local by design.
24+
*
25+
* @see <a href="https://github.com/rabbitmq/rabbitmq-java-client/issues/135">Issue 135 on GitHub</a>
2426
*/
2527
public interface RecoveryCanBeginListener {
2628
void recoveryCanBegin(ShutdownSignalException cause);

0 commit comments

Comments
 (0)