checkstyle: Add AvoidStaticImport
Plus bonus build fix (whoops).
This commit is contained in:
parent
2249ad59da
commit
65f292708c
@ -63,7 +63,7 @@ public class FDroidCertPins {
|
||||
if (pinList == null) {
|
||||
List<String> l = new ArrayList<>();
|
||||
l.addAll(Arrays.asList(DEFAULT_PINS));
|
||||
pinList = pinlist;
|
||||
pinList = l;
|
||||
}
|
||||
|
||||
return pinList.toArray(new String[pinList.size()]);
|
||||
|
@ -27,6 +27,7 @@
|
||||
<module name="TypeName" />
|
||||
|
||||
<module name="AvoidStarImport" />
|
||||
<module name="AvoidStaticImport" />
|
||||
<module name="RedundantImport" />
|
||||
<module name="UnusedImports" />
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user