[java] Shortening code because Java 8
@@ -91,7 +91,7 @@ public VirtualAuthenticatorOptions setIsUserVerified(boolean isUserVerified) {
}
public Map<String, Object> toMap() {
- Map<String, Object> map = new HashMap<String, Object>();
+ Map<String, Object> map = new HashMap<>();
map.put("protocol", protocol.id);
map.put("transport", transport.id);
map.put("hasResidentKey", hasResidentKey);
