mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00:00
Remove MagicNumber checkstyle
There are a lot of "magic numbers" that we really don't want to extract as a constant. Until now, many @SuppressWarnings annotations were added, but it makes no sense to check for magic number if we silent the warnings everywhere.
This commit is contained in:
parent
4adf5fde6d
commit
5031b2c8ff
11 changed files with 0 additions and 20 deletions
|
|
@ -47,7 +47,6 @@ public class Controller {
|
|||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("checkstyle:MagicNumber")
|
||||
public void control() throws IOException {
|
||||
// on start, power on the device
|
||||
if (!device.isScreenOn()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue