KEYCLOAK-12206 Use diamond operator in package "org.keycloak.dom.saml.v2.assertion" from module "saml-core-api"
This commit is contained in:
parent
c0ebd786e3
commit
cd671177d2
11 changed files with 13 additions and 13 deletions
|
@ -221,7 +221,7 @@ public class AssertionType extends CommonAssertionType {
|
|||
}
|
||||
|
||||
public Set<AttributeStatementType> getAttributeStatements() {
|
||||
Set<AttributeStatementType> attributeStatements = new HashSet<AttributeStatementType>();
|
||||
Set<AttributeStatementType> attributeStatements = new HashSet<>();
|
||||
Set<StatementAbstractType> statements = getStatements();
|
||||
|
||||
if (statements != null) {
|
||||
|
|
|
@ -44,7 +44,7 @@ import java.util.List;
|
|||
*/
|
||||
public class AttributeStatementType extends StatementAbstractType {
|
||||
|
||||
protected List<ASTChoiceType> attributes = new ArrayList<ASTChoiceType>();
|
||||
protected List<ASTChoiceType> attributes = new ArrayList<>();
|
||||
|
||||
/**
|
||||
* Add an attribute
|
||||
|
|
|
@ -49,11 +49,11 @@ import java.util.Map;
|
|||
*/
|
||||
public class AttributeType implements Serializable {
|
||||
|
||||
protected List<Object> attributeValue = new ArrayList<Object>();
|
||||
protected List<Object> attributeValue = new ArrayList<>();
|
||||
protected String name;
|
||||
protected String nameFormat;
|
||||
protected String friendlyName;
|
||||
private Map<QName, String> otherAttributes = new HashMap<QName, String>();
|
||||
private Map<QName, String> otherAttributes = new HashMap<>();
|
||||
|
||||
public AttributeType(String name) {
|
||||
this.name = name;
|
||||
|
|
|
@ -43,7 +43,7 @@ import java.util.List;
|
|||
*/
|
||||
public class AudienceRestrictionType extends ConditionAbstractType implements Serializable {
|
||||
|
||||
protected List<URI> audience = new ArrayList<URI>();
|
||||
protected List<URI> audience = new ArrayList<>();
|
||||
|
||||
/**
|
||||
* Add an audience
|
||||
|
|
|
@ -59,11 +59,11 @@ import java.util.Set;
|
|||
*/
|
||||
public class AuthnContextType implements Serializable {
|
||||
|
||||
private final Set<URI> authenticatingAuthority = new LinkedHashSet<URI>();
|
||||
private final Set<URI> authenticatingAuthority = new LinkedHashSet<>();
|
||||
|
||||
private AuthnContextTypeSequence sequence;
|
||||
|
||||
private final Set<URIType> URITypes = new HashSet<URIType>();
|
||||
private final Set<URIType> URITypes = new HashSet<>();
|
||||
|
||||
/**
|
||||
* Add an authenticating authority
|
||||
|
|
|
@ -44,7 +44,7 @@ import java.util.List;
|
|||
*/
|
||||
public class AuthzDecisionStatementType extends StatementAbstractType {
|
||||
|
||||
protected List<ActionType> action = new ArrayList<ActionType>();
|
||||
protected List<ActionType> action = new ArrayList<>();
|
||||
protected EvidenceType evidence;
|
||||
protected String resource;
|
||||
protected DecisionType decision;
|
||||
|
|
|
@ -49,7 +49,7 @@ import java.util.List;
|
|||
*/
|
||||
public class ConditionsType extends CommonConditionsType implements Serializable {
|
||||
|
||||
protected List<ConditionAbstractType> conditions = new ArrayList<ConditionAbstractType>();
|
||||
protected List<ConditionAbstractType> conditions = new ArrayList<>();
|
||||
|
||||
/**
|
||||
* Add a condition
|
||||
|
|
|
@ -47,7 +47,7 @@ import java.util.List;
|
|||
*/
|
||||
public class EvidenceType implements Serializable {
|
||||
|
||||
protected List<ChoiceType> evidences = new ArrayList<ChoiceType>();
|
||||
protected List<ChoiceType> evidences = new ArrayList<>();
|
||||
|
||||
/**
|
||||
* Add an evidence
|
||||
|
|
|
@ -44,7 +44,7 @@ import java.util.List;
|
|||
*/
|
||||
public class ProxyRestrictionType extends ConditionAbstractType {
|
||||
|
||||
protected List<URI> audience = new ArrayList<URI>();
|
||||
protected List<URI> audience = new ArrayList<>();
|
||||
|
||||
protected BigInteger count;
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ public class SubjectConfirmationDataType implements Serializable {
|
|||
|
||||
protected String address;
|
||||
|
||||
private final Map<QName, String> otherAttributes = new HashMap<QName, String>();
|
||||
private final Map<QName, String> otherAttributes = new HashMap<>();
|
||||
|
||||
private Object anyType;
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ import java.util.List;
|
|||
*/
|
||||
public class SubjectType implements Serializable {
|
||||
|
||||
protected List<SubjectConfirmationType> subjectConfirmation = new ArrayList<SubjectConfirmationType>();
|
||||
protected List<SubjectConfirmationType> subjectConfirmation = new ArrayList<>();
|
||||
|
||||
protected STSubType subType;
|
||||
|
||||
|
|
Loading…
Reference in a new issue