Remove redundant modifiers from interfaces (#14843)
Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -37,7 +37,7 @@ public interface SatelCommand {
|
||||
* @author Krzysztof Goworek - Initial contribution
|
||||
*
|
||||
*/
|
||||
public enum State {
|
||||
enum State {
|
||||
NEW,
|
||||
ENQUEUED,
|
||||
SENT,
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user