From 7af79657872c706c0f96a6917c963b99f8ed7822 Mon Sep 17 00:00:00 2001 From: Jon Bratseth Date: Wed, 31 Mar 2021 13:52:38 +0200 Subject: Minor group logic improvements - Non-functional cleanup - Add cluster id to log messages - Don't warn that we only have N/N and require N nodes (all for the same N) --- jrt/src/com/yahoo/jrt/Worker.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jrt') diff --git a/jrt/src/com/yahoo/jrt/Worker.java b/jrt/src/com/yahoo/jrt/Worker.java index d20ebadf856..5f0407e4f5a 100644 --- a/jrt/src/com/yahoo/jrt/Worker.java +++ b/jrt/src/com/yahoo/jrt/Worker.java @@ -4,7 +4,7 @@ package com.yahoo.jrt; class Worker { - private static int WORK_LIMIT = 1024; + private static final int WORK_LIMIT = 1024; private class Run implements Runnable { public void run() { @@ -27,7 +27,7 @@ class Worker { } private static class DoHandshakeWork implements Runnable { - private Connection connection; + private final Connection connection; DoHandshakeWork(Connection c) { connection = c; } -- cgit v1.2.3