Fix SAT warnings (#14202)
* Fix SAT warnings - checkstyle.ModifierOrderCheck - checkstyle.OneStatementPerLineCheck - checkstyle.NeedBracesCheck - PMD.UseStandardCharsets - PMD.UseCollectionIsEmpty - PMD.UnusedLocalVariable - PMD.SimplifyBooleanReturns where reasonable, suppress where readability is better without change - PMD.SimplifyBooleanExpressions * Include StandardCharsets Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
This commit is contained in:
@@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
|
||||
@NonNullByDefault
|
||||
public class HeosActions implements ThingActions {
|
||||
|
||||
private final static Logger logger = LoggerFactory.getLogger(HeosActions.class);
|
||||
private static final Logger logger = LoggerFactory.getLogger(HeosActions.class);
|
||||
|
||||
private @Nullable HeosBridgeHandler handler;
|
||||
|
||||
|
||||
@@ -43,7 +43,6 @@ public class HeosChannelHandlerGrouping extends BaseHeosChannelHandler {
|
||||
@Override
|
||||
public void handleGroupCommand(Command command, @Nullable String id, ThingUID uid,
|
||||
HeosGroupHandler heosGroupHandler) throws IOException, ReadException {
|
||||
|
||||
if (command instanceof RefreshType) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -278,7 +278,6 @@ public abstract class HeosThingBaseHandler extends BaseThingHandler implements H
|
||||
}
|
||||
|
||||
switch (command) {
|
||||
|
||||
case PLAYER_STATE_CHANGED:
|
||||
playerStateChanged(eventObject);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user