fix Classcanbestatic (#5597)
Inner class is non-static but does not reference enclosing class ref: https://errorprone.info/bugpattern/ClassCanBeStatic Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
This commit is contained in:
parent
7d5d8b4335
commit
8a8df3550e
|
|
@ -110,8 +110,8 @@ public class MultipleChannelsConsumer extends Thread {
|
|||
running = false;
|
||||
}
|
||||
|
||||
private class Group {
|
||||
private Channels channels;
|
||||
private static class Group {
|
||||
private Channels channels;
|
||||
private IConsumer consumer;
|
||||
|
||||
public Group(Channels channels, IConsumer consumer) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue