summaryrefslogtreecommitdiffstats
path: root/messagebus
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@verizonmedia.com>2019-06-28 06:13:15 -0500
committerJon Bratseth <bratseth@verizonmedia.com>2019-06-28 06:13:15 -0500
commit77fa90c39e927df2e3f18afaf359e3882f1b822b (patch)
treea097460583e4cf8d285c48c5c8ec2a74d1382592 /messagebus
parent835688ddc6f02b256dfe12a31b57d761ce66c234 (diff)
Nonfunctional changes only
Diffstat (limited to 'messagebus')
-rw-r--r--messagebus/src/main/java/com/yahoo/messagebus/IntermediateSession.java17
1 files changed, 4 insertions, 13 deletions
diff --git a/messagebus/src/main/java/com/yahoo/messagebus/IntermediateSession.java b/messagebus/src/main/java/com/yahoo/messagebus/IntermediateSession.java
index 8286404aa23..309316b450a 100644
--- a/messagebus/src/main/java/com/yahoo/messagebus/IntermediateSession.java
+++ b/messagebus/src/main/java/com/yahoo/messagebus/IntermediateSession.java
@@ -36,7 +36,7 @@ public final class IntermediateSession implements MessageHandler, ReplyHandler {
* Sets the destroyed flag to true. The very first time this method is called, it cleans up all its dependencies.
* Even if you retain a reference to this object, all of its content is allowed to be garbage collected.
*
- * @return True if content existed and was destroyed.
+ * @return true if content existed and was destroyed
*/
public boolean destroy() {
if (!destroyed.getAndSet(true)) {
@@ -73,11 +73,7 @@ public final class IntermediateSession implements MessageHandler, ReplyHandler {
}
}
- /**
- * Returns the message handler of this session.
- *
- * @return The message handler.
- */
+ /** Returns the message handler of this session */
public MessageHandler getMessageHandler() {
return msgHandler;
}
@@ -94,18 +90,12 @@ public final class IntermediateSession implements MessageHandler, ReplyHandler {
/**
* Returns the connection spec string for this session. This returns a combination of the owning message bus' own
* spec string and the name of this session.
- *
- * @return The connection string.
*/
public String getConnectionSpec() {
return mbus.getConnectionSpec() + "/" + name;
}
- /**
- * Returns the name of this session.
- *
- * @return The session name.
- */
+ /** Returns the name of this session */
public String getName() {
return name;
}
@@ -123,4 +113,5 @@ public final class IntermediateSession implements MessageHandler, ReplyHandler {
replyHandler.handleReply(reply);
}
}
+
}