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:
@@ -42,7 +42,7 @@ import org.slf4j.LoggerFactory;
|
||||
public class Device {
|
||||
private final Logger logger = LoggerFactory.getLogger(Device.class);
|
||||
|
||||
private transient static final String DEVICE_TYPE_PREFIX = "gardena smart";
|
||||
private static final transient String DEVICE_TYPE_PREFIX = "gardena smart";
|
||||
public boolean active = true;
|
||||
public String id;
|
||||
public String deviceType;
|
||||
|
||||
Reference in New Issue
Block a user