mirror of
https://codeberg.org/PGPainless/cert-d-java.git
synced 2024-11-14 12:02:06 +01:00
Add suppression for Java 8 Map API
This commit is contained in:
parent
942b287beb
commit
60779b921e
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ public class InMemorySubkeyLookup implements SubkeyLookup {
|
|||
public void storeCertificateSubkeyIds(String certificate, List<Long> subkeyIds) {
|
||||
for (long subkeyId : subkeyIds) {
|
||||
Set<String> certificates = subkeyMap.get(subkeyId);
|
||||
// noinspection Java8MapApi
|
||||
if (certificates == null) {
|
||||
certificates = new HashSet<>();
|
||||
subkeyMap.put(subkeyId, certificates);
|
||||
|
|
Loading…
Reference in a new issue