[BUILD] Master branch failed by spotbugs error
*Motivation*
Master branch failed by [ERROR] Medium: org.apache.pulsar.client.impl.ConsumerBase.NONE_KEY should be package protected [org.apache.pulsar.client.impl.ConsumerBase] At ConsumerBase.java:[line 887] MS_PKGPROTECT
@@ -884,7 +884,7 @@ public abstract class ConsumerBase<T> extends HandlerState implements Consumer<T
}
}
- protected static final byte[] NONE_KEY = "NONE_KEY".getBytes(StandardCharsets.UTF_8);
+ static final byte[] NONE_KEY = "NONE_KEY".getBytes(StandardCharsets.UTF_8);
protected byte[] peekMessageKey(Message<T> msg) {
byte[] key = NONE_KEY;
if (msg.hasKey()) {
