diff options
author | Jon Bratseth <bratseth@gmail.com> | 2021-03-31 13:52:38 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2021-03-31 13:52:38 +0200 |
commit | 7af79657872c706c0f96a6917c963b99f8ed7822 (patch) | |
tree | 6aa2b2b20bcddeccaf10ec190ba1ccb44d232100 /jrt/src/com | |
parent | 38fd35c658567f6bed3f69effd879c91f57aaae1 (diff) |
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)
Diffstat (limited to 'jrt/src/com')
-rw-r--r-- | jrt/src/com/yahoo/jrt/Worker.java | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |