Remove redundant modifiers from interfaces (#14843)

Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
Wouter Born
2023-04-18 13:07:04 +02:00
committed by GitHub
parent 24adc5aa12
commit 83cbe746d0
174 changed files with 806 additions and 774 deletions

View File

@@ -37,7 +37,7 @@ public interface SatelCommand {
* @author Krzysztof Goworek - Initial contribution
*
*/
public enum State {
enum State {
NEW,
ENQUEUED,
SENT,

View File

@@ -67,7 +67,7 @@ public interface StateType {
* @param states list of states
* @return built bit set
*/
public static BitSet getStatesBitSet(StateType... states) {
static BitSet getStatesBitSet(StateType... states) {
BitSet stateBits = new BitSet();
for (StateType state : states) {
stateBits.set(state.getRefreshCommand());
@@ -78,7 +78,7 @@ public interface StateType {
/**
* Marker instance for lack of state type.
*/
public static final StateType NONE = new StateType() {
static final StateType NONE = new StateType() {
@Override
public byte getRefreshCommand() {