From 04ed754cad585dadb7433f9b945702dbdd02b6c0 Mon Sep 17 00:00:00 2001 From: Jon Bratseth Date: Fri, 8 Jul 2022 09:46:08 +0200 Subject: No functional changes --- jrt/src/com/yahoo/jrt/Acceptor.java | 4 ++-- jrt/src/com/yahoo/jrt/Transport.java | 6 +----- jrt/src/com/yahoo/jrt/slobrok/api/Mirror.java | 5 +---- 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 -- cgit v1.2.3