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() {
|
public Set<AttributeStatementType> getAttributeStatements() {
|
||||||
Set<AttributeStatementType> attributeStatements = new HashSet<AttributeStatementType>();
|
Set<AttributeStatementType> attributeStatements = new HashSet<>();
|
||||||
Set<StatementAbstractType> statements = getStatements();
|
Set<StatementAbstractType> statements = getStatements();
|
||||||
|
|
||||||
if (statements != null) {
|
if (statements != null) {
|
||||||
|
|
|
@ -44,7 +44,7 @@ import java.util.List;
|
||||||
*/
|
*/
|
||||||
public class AttributeStatementType extends StatementAbstractType {
|
public class AttributeStatementType extends StatementAbstractType {
|
||||||
|
|
||||||
protected List<ASTChoiceType> attributes = new ArrayList<ASTChoiceType>();
|
protected List<ASTChoiceType> attributes = new ArrayList<>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add an attribute
|
* Add an attribute
|
||||||
|
|
|
@ -49,11 +49,11 @@ import java.util.Map;
|
||||||
*/
|
*/
|
||||||
public class AttributeType implements Serializable {
|
public class AttributeType implements Serializable {
|
||||||
|
|
||||||
protected List<Object> attributeValue = new ArrayList<Object>();
|
protected List<Object> attributeValue = new ArrayList<>();
|
||||||
protected String name;
|
protected String name;
|
||||||
protected String nameFormat;
|
protected String nameFormat;
|
||||||
protected String friendlyName;
|
protected String friendlyName;
|
||||||
private Map<QName, String> otherAttributes = new HashMap<QName, String>();
|
private Map<QName, String> otherAttributes = new HashMap<>();
|
||||||
|
|
||||||
public AttributeType(String name) {
|
public AttributeType(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
|
|
|
@ -43,7 +43,7 @@ import java.util.List;
|
||||||
*/
|
*/
|
||||||
public class AudienceRestrictionType extends ConditionAbstractType implements Serializable {
|
public class AudienceRestrictionType extends ConditionAbstractType implements Serializable {
|
||||||
|
|
||||||
protected List<URI> audience = new ArrayList<URI>();
|
protected List<URI> audience = new ArrayList<>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add an audience
|
* Add an audience
|
||||||
|
|
|
@ -59,11 +59,11 @@ import java.util.Set;
|
||||||
*/
|
*/
|
||||||
public class AuthnContextType implements Serializable {
|
public class AuthnContextType implements Serializable {
|
||||||
|
|
||||||
private final Set<URI> authenticatingAuthority = new LinkedHashSet<URI>();
|
private final Set<URI> authenticatingAuthority = new LinkedHashSet<>();
|
||||||
|
|
||||||
private AuthnContextTypeSequence sequence;
|
private AuthnContextTypeSequence sequence;
|
||||||
|
|
||||||
private final Set<URIType> URITypes = new HashSet<URIType>();
|
private final Set<URIType> URITypes = new HashSet<>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add an authenticating authority
|
* Add an authenticating authority
|
||||||
|
|
|
@ -44,7 +44,7 @@ import java.util.List;
|
||||||
*/
|
*/
|
||||||
public class AuthzDecisionStatementType extends StatementAbstractType {
|
public class AuthzDecisionStatementType extends StatementAbstractType {
|
||||||
|
|
||||||
protected List<ActionType> action = new ArrayList<ActionType>();
|
protected List<ActionType> action = new ArrayList<>();
|
||||||
protected EvidenceType evidence;
|
protected EvidenceType evidence;
|
||||||
protected String resource;
|
protected String resource;
|
||||||
protected DecisionType decision;
|
protected DecisionType decision;
|
||||||
|
|
|
@ -49,7 +49,7 @@ import java.util.List;
|
||||||
*/
|
*/
|
||||||
public class ConditionsType extends CommonConditionsType implements Serializable {
|
public class ConditionsType extends CommonConditionsType implements Serializable {
|
||||||
|
|
||||||
protected List<ConditionAbstractType> conditions = new ArrayList<ConditionAbstractType>();
|
protected List<ConditionAbstractType> conditions = new ArrayList<>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add a condition
|
* Add a condition
|
||||||
|
|
|
@ -47,7 +47,7 @@ import java.util.List;
|
||||||
*/
|
*/
|
||||||
public class EvidenceType implements Serializable {
|
public class EvidenceType implements Serializable {
|
||||||
|
|
||||||
protected List<ChoiceType> evidences = new ArrayList<ChoiceType>();
|
protected List<ChoiceType> evidences = new ArrayList<>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add an evidence
|
* Add an evidence
|
||||||
|
|
|
@ -44,7 +44,7 @@ import java.util.List;
|
||||||
*/
|
*/
|
||||||
public class ProxyRestrictionType extends ConditionAbstractType {
|
public class ProxyRestrictionType extends ConditionAbstractType {
|
||||||
|
|
||||||
protected List<URI> audience = new ArrayList<URI>();
|
protected List<URI> audience = new ArrayList<>();
|
||||||
|
|
||||||
protected BigInteger count;
|
protected BigInteger count;
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,7 @@ public class SubjectConfirmationDataType implements Serializable {
|
||||||
|
|
||||||
protected String address;
|
protected String address;
|
||||||
|
|
||||||
private final Map<QName, String> otherAttributes = new HashMap<QName, String>();
|
private final Map<QName, String> otherAttributes = new HashMap<>();
|
||||||
|
|
||||||
private Object anyType;
|
private Object anyType;
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,7 @@ import java.util.List;
|
||||||
*/
|
*/
|
||||||
public class SubjectType implements Serializable {
|
public class SubjectType implements Serializable {
|
||||||
|
|
||||||
protected List<SubjectConfirmationType> subjectConfirmation = new ArrayList<SubjectConfirmationType>();
|
protected List<SubjectConfirmationType> subjectConfirmation = new ArrayList<>();
|
||||||
|
|
||||||
protected STSubType subType;
|
protected STSubType subType;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue