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:
parent
71e51b55df
commit
a33957b773
9 changed files with 10 additions and 10 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue