From 562bf0e1c7f245e70b869280c445e461b3b7ff5a Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Sun, 7 Aug 2016 02:44:37 +0200 Subject: [PATCH] chg: Don't complain about this unchecked type at this location. This suppression is safe, as the only places this is set are controlled by ourselves AND within the scope of application startup - and thus without interference from the user. Change-Id: I379a168327032560f60757e612e9fa1dbc60bb94 --- src/org/cacert/gigi/util/CipherInfo.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/org/cacert/gigi/util/CipherInfo.java b/src/org/cacert/gigi/util/CipherInfo.java index a1aaecdf..7e5ecc17 100644 --- a/src/org/cacert/gigi/util/CipherInfo.java +++ b/src/org/cacert/gigi/util/CipherInfo.java @@ -300,6 +300,7 @@ public class CipherInfo implements Comparable { public static String[] getCompleteRanking() { if (cipherRanking == null) { + @SuppressWarnings("unchecked") String[] ciphers = filterCiphers((Iterable) cig.names.keySet()); cipherRanking = ciphers; } -- 2.39.2