KEYCLOAK-12211 Use diamond operator for collections in package "org.keycloak.dom.saml.v2.protocol" from module "saml-core-api"

This commit is contained in:
Andrei Arlou 2019-11-23 00:59:55 +03:00 committed by Stian Thorgersen
parent 71e51b55df
commit a33957b773
9 changed files with 10 additions and 10 deletions

View file

@ -42,7 +42,7 @@ import java.util.List;
*/
public class AssertionIDRequestType extends RequestAbstractType {
protected List<String> assertionIDRef = new ArrayList<String>();
protected List<String> assertionIDRef = new ArrayList<>();
public AssertionIDRequestType(String id, XMLGregorianCalendar instant) {
super(id, instant);

View file

@ -44,7 +44,7 @@ import java.util.List;
*/
public class AttributeQueryType extends SubjectQueryAbstractType {
protected List<AttributeType> attribute = new ArrayList<AttributeType>();
protected List<AttributeType> attribute = new ArrayList<>();
public AttributeQueryType(String id, XMLGregorianCalendar instant) {
super(id, instant);

View file

@ -48,7 +48,7 @@ import java.util.List;
*/
public class AuthzDecisionQueryType extends SubjectQueryAbstractType {
protected List<ActionType> action = new ArrayList<ActionType>();
protected List<ActionType> action = new ArrayList<>();
protected EvidenceType evidence;

View file

@ -41,7 +41,7 @@ import java.util.List;
*/
public class ExtensionsType {
protected List<Object> any = new ArrayList<Object>();
protected List<Object> any = new ArrayList<>();
/**
* Add an extension

View file

@ -43,7 +43,7 @@ import java.util.List;
*/
public class IDPListType {
protected List<IDPEntryType> idpEntry = new ArrayList<IDPEntryType>();
protected List<IDPEntryType> idpEntry = new ArrayList<>();
protected URI getComplete;
/**

View file

@ -59,7 +59,7 @@ public class LogoutRequestType extends RequestAbstractType {
protected EncryptedElementType encryptedID;
protected List<String> sessionIndex = new ArrayList<String>();
protected List<String> sessionIndex = new ArrayList<>();
protected String reason;

View file

@ -43,8 +43,8 @@ import java.util.List;
*/
public class RequestedAuthnContextType {
protected List<String> authnContextClassRef = new ArrayList<String>();
protected List<String> authnContextDeclRef = new ArrayList<String>();
protected List<String> authnContextClassRef = new ArrayList<>();
protected List<String> authnContextDeclRef = new ArrayList<>();
protected AuthnContextComparisonType comparison;
/**

View file

@ -46,7 +46,7 @@ import java.util.List;
*/
public class ResponseType extends StatusResponseType {
protected List<RTChoiceType> assertions = new ArrayList<ResponseType.RTChoiceType>();
protected List<RTChoiceType> assertions = new ArrayList<>();
public ResponseType(String id, XMLGregorianCalendar issueInstant) {
super(id, issueInstant);

View file

@ -46,7 +46,7 @@ import java.util.List;
public class ScopingType {
protected IDPListType idpList;
protected List<URI> requesterID = new ArrayList<URI>();
protected List<URI> requesterID = new ArrayList<>();
protected BigInteger proxyCount;