From 65f292708c72bcdc6f30b24b55eb25202e316f55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Fri, 9 Oct 2015 11:04:39 +0200 Subject: [PATCH] checkstyle: Add AvoidStaticImport Plus bonus build fix (whoops). --- F-Droid/src/org/fdroid/fdroid/FDroidCertPins.java | 2 +- config/checkstyle/checkstyle.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/F-Droid/src/org/fdroid/fdroid/FDroidCertPins.java b/F-Droid/src/org/fdroid/fdroid/FDroidCertPins.java index ddabf2cff..1be519ec4 100644 --- a/F-Droid/src/org/fdroid/fdroid/FDroidCertPins.java +++ b/F-Droid/src/org/fdroid/fdroid/FDroidCertPins.java @@ -63,7 +63,7 @@ public class FDroidCertPins { if (pinList == null) { List l = new ArrayList<>(); l.addAll(Arrays.asList(DEFAULT_PINS)); - pinList = pinlist; + pinList = l; } return pinList.toArray(new String[pinList.size()]); diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml index 46144c910..55e59a634 100644 --- a/config/checkstyle/checkstyle.xml +++ b/config/checkstyle/checkstyle.xml @@ -27,6 +27,7 @@ +