mirror of
https://codeberg.org/PGPainless/cert-d-java.git
synced 2024-11-29 10:52: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) {
|
public void storeCertificateSubkeyIds(String certificate, List<Long> subkeyIds) {
|
||||||
for (long subkeyId : subkeyIds) {
|
for (long subkeyId : subkeyIds) {
|
||||||
Set<String> certificates = subkeyMap.get(subkeyId);
|
Set<String> certificates = subkeyMap.get(subkeyId);
|
||||||
|
// noinspection Java8MapApi
|
||||||
if (certificates == null) {
|
if (certificates == null) {
|
||||||
certificates = new HashSet<>();
|
certificates = new HashSet<>();
|
||||||
subkeyMap.put(subkeyId, certificates);
|
subkeyMap.put(subkeyId, certificates);
|
||||||
|
|
Loading…
Reference in a new issue