]> WPIA git - gigi.git/commitdiff
chg: Don't complain about this unchecked type at this location.
authorBenny Baumann <BenBE1987@gmx.net>
Sun, 7 Aug 2016 00:44:37 +0000 (02:44 +0200)
committerBenny Baumann <BenBE1987@gmx.net>
Sun, 7 Aug 2016 11:49:52 +0000 (13:49 +0200)
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

index a1aaecdfb25ff6e27ad0cac402046582757df231..7e5ecc17be58e676c66e37f81c5ec2b43fa1e176 100644 (file)
@@ -300,6 +300,7 @@ public class CipherInfo implements Comparable<CipherInfo> {
 
     public static String[] getCompleteRanking() {
         if (cipherRanking == null) {
+            @SuppressWarnings("unchecked")
             String[] ciphers = filterCiphers((Iterable<String>) cig.names.keySet());
             cipherRanking = ciphers;
         }