summaryrefslogtreecommitdiffstats
path: root/jrt
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2022-07-08 09:46:08 +0200
committerJon Bratseth <bratseth@gmail.com>2022-07-08 09:46:08 +0200
commit04ed754cad585dadb7433f9b945702dbdd02b6c0 (patch)
treed7207c05549b2c1e44edfddc9ddb63c66a43bcf5 /jrt
parent8db859415507f207eb194f11c1165a99550e3bad (diff)
No functional changes
Diffstat (limited to 'jrt')
-rw-r--r--jrt/src/com/yahoo/jrt/Acceptor.java4
-rw-r--r--jrt/src/com/yahoo/jrt/Transport.java6
-rw-r--r--jrt/src/com/yahoo/jrt/slobrok/api/Mirror.java5
3 files changed, 4 insertions, 11 deletions
diff --git a/jrt/src/com/yahoo/jrt/Acceptor.java b/jrt/src/com/yahoo/jrt/Acceptor.java
index 8368941007b..1cbfd36e8c5 100644
--- a/jrt/src/com/yahoo/jrt/Acceptor.java
+++ b/jrt/src/com/yahoo/jrt/Acceptor.java
@@ -87,8 +87,8 @@ public class Acceptor {
* is listening to. If this Acceptor is no longer listening (it has
* been shut down), null will be returned.
*
- * @return listening spec, or null if not listening.
- **/
+ * @return listening spec, or null if not listening
+ */
public Spec spec() {
if ( ! serverChannel.isOpen()) {
return null;
diff --git a/jrt/src/com/yahoo/jrt/Transport.java b/jrt/src/com/yahoo/jrt/Transport.java
index 871d0188691..e488998f055 100644
--- a/jrt/src/com/yahoo/jrt/Transport.java
+++ b/jrt/src/com/yahoo/jrt/Transport.java
@@ -79,11 +79,7 @@ public class Transport {
// Only for testing
public Transport() { this("default"); }
- /**
- * Select a random transport thread
- *
- * @return a random transport thread
- */
+ /** Selects and returns a random transport thread. */
public TransportThread selectThread() {
return threads.get(rnd.nextInt(threads.size()));
}
diff --git a/jrt/src/com/yahoo/jrt/slobrok/api/Mirror.java b/jrt/src/com/yahoo/jrt/slobrok/api/Mirror.java
index 7963cd51c75..b37e78490f1 100644
--- a/jrt/src/com/yahoo/jrt/slobrok/api/Mirror.java
+++ b/jrt/src/com/yahoo/jrt/slobrok/api/Mirror.java
@@ -1,8 +1,6 @@
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.jrt.slobrok.api;
-
-import com.yahoo.jrt.ErrorCode;
import com.yahoo.jrt.Int32Value;
import com.yahoo.jrt.Request;
import com.yahoo.jrt.RequestWaiter;
@@ -50,8 +48,7 @@ public class Mirror implements IMirror {
private Request req = null;
/**
- * Create a new MirrorAPI using the given Supervisor and slobrok
- * connect specs.
+ * Create a new MirrorAPI using the given Supervisor and slobrok connect specs.
*
* @param orb the Supervisor to use
* @param slobroks slobrok connect spec list