mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-09-03 08:06:02 +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
|
@ -129,11 +129,6 @@ page at http://checkstyle.sourceforge.net/config.html -->
|
|||
</module>
|
||||
<module name="IllegalInstantiation" />
|
||||
<module name="InnerAssignment" />
|
||||
<module name="MagicNumber">
|
||||
<property name="severity" value="info" />
|
||||
<property name="ignoreHashCodeMethod" value="true" />
|
||||
<property name="ignoreAnnotation" value="true" />
|
||||
</module>
|
||||
<module name="MissingSwitchDefault" />
|
||||
<module name="SimplifyBooleanExpression" />
|
||||
<module name="SimplifyBooleanReturn" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue