From 5950a26f5c5dcf1731224d4ec56f7a5191a13d3d Mon Sep 17 00:00:00 2001 From: Dhaval D <343411+ossdhaval@users.noreply.github.com> Date: Fri, 4 Feb 2022 17:25:27 +0530 Subject: [PATCH] fix(jans-fido2): use diamond operator (#764) --- .../src/main/java/io/jans/entry/DeviceRegistrationStatus.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jans-fido2/model/src/main/java/io/jans/entry/DeviceRegistrationStatus.java b/jans-fido2/model/src/main/java/io/jans/entry/DeviceRegistrationStatus.java index 4ea13f73d79..31b2bb8bea4 100644 --- a/jans-fido2/model/src/main/java/io/jans/entry/DeviceRegistrationStatus.java +++ b/jans-fido2/model/src/main/java/io/jans/entry/DeviceRegistrationStatus.java @@ -25,7 +25,7 @@ public enum DeviceRegistrationStatus implements AttributeEnum { private final String value; private final String displayName; - private static Map mapByValues = new HashMap(); + private static Map mapByValues = new HashMap<>(); static { for (DeviceRegistrationStatus enumType : values()) {