checkstyle: Add AvoidStaticImport

Plus bonus build fix (whoops).
This commit is contained in:
Daniel Martí 2015-10-09 11:04:39 +02:00
parent 2249ad59da
commit 65f292708c
2 changed files with 2 additions and 1 deletions

View File

@ -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()]);

View File

@ -27,6 +27,7 @@
<module name="TypeName" />
<module name="AvoidStarImport" />
<module name="AvoidStaticImport" />
<module name="RedundantImport" />
<module name="UnusedImports" />