KEYCLOAK-12210 Use diamond operator for collections in package "org.keycloak.dom.xmlsec.w3" from module "saml-core-api"
This commit is contained in:
parent
c74a081ad8
commit
677349de6c
17 changed files with 17 additions and 17 deletions
|
@ -51,7 +51,7 @@ public class KeyInfoType {
|
|||
|
||||
protected String id;
|
||||
|
||||
protected List<Object> contentList = new ArrayList<Object>();
|
||||
protected List<Object> contentList = new ArrayList<>();
|
||||
|
||||
public void addContent(Object content) {
|
||||
this.contentList.add(content);
|
||||
|
|
|
@ -42,7 +42,7 @@ import java.util.List;
|
|||
*/
|
||||
public class ManifestType {
|
||||
|
||||
protected List<ReferenceType> reference = new ArrayList<ReferenceType>();
|
||||
protected List<ReferenceType> reference = new ArrayList<>();
|
||||
protected String id;
|
||||
|
||||
public void addReference(ReferenceType ref) {
|
||||
|
|
|
@ -44,7 +44,7 @@ import java.util.List;
|
|||
*/
|
||||
public class ObjectType {
|
||||
|
||||
protected List<Object> content = new ArrayList<Object>();
|
||||
protected List<Object> content = new ArrayList<>();
|
||||
protected String id;
|
||||
protected String mimeType;
|
||||
protected String encoding;
|
||||
|
|
|
@ -49,7 +49,7 @@ import java.util.List;
|
|||
*/
|
||||
public class PGPDataType {
|
||||
|
||||
protected List<Object> content = new ArrayList<Object>();
|
||||
protected List<Object> content = new ArrayList<>();
|
||||
|
||||
public void add(Object obj) {
|
||||
this.content.add(obj);
|
||||
|
|
|
@ -43,7 +43,7 @@ import java.util.List;
|
|||
*/
|
||||
public class SPKIDataType {
|
||||
|
||||
protected List<Object> spkiSexpAndAny = new ArrayList<Object>();
|
||||
protected List<Object> spkiSexpAndAny = new ArrayList<>();
|
||||
|
||||
public void addSPKI(Object obj) {
|
||||
this.spkiSexpAndAny.add(obj);
|
||||
|
|
|
@ -44,7 +44,7 @@ import java.util.List;
|
|||
*/
|
||||
public class SignatureMethodType {
|
||||
|
||||
protected List<Object> content = new ArrayList<Object>();
|
||||
protected List<Object> content = new ArrayList<>();
|
||||
protected String algorithm;
|
||||
|
||||
public void add(Object obj) {
|
||||
|
|
|
@ -42,7 +42,7 @@ import java.util.List;
|
|||
*/
|
||||
public class SignaturePropertiesType {
|
||||
|
||||
protected List<SignaturePropertyType> signatureProperty = new ArrayList<SignaturePropertyType>();
|
||||
protected List<SignaturePropertyType> signatureProperty = new ArrayList<>();
|
||||
protected String id;
|
||||
|
||||
public void addSignatureProperty(SignaturePropertyType sig) {
|
||||
|
|
|
@ -42,7 +42,7 @@ import java.util.List;
|
|||
*/
|
||||
public class SignaturePropertyType {
|
||||
|
||||
protected List<Object> content = new ArrayList<Object>();
|
||||
protected List<Object> content = new ArrayList<>();
|
||||
protected String target;
|
||||
protected String id;
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ public class SignatureType {
|
|||
protected SignedInfoType signedInfo;
|
||||
protected SignatureValueType signatureValue;
|
||||
protected KeyInfoType keyInfo;
|
||||
protected List<ObjectType> object = new ArrayList<ObjectType>();
|
||||
protected List<ObjectType> object = new ArrayList<>();
|
||||
protected String id;
|
||||
|
||||
/**
|
||||
|
|
|
@ -46,7 +46,7 @@ public class SignedInfoType {
|
|||
|
||||
protected CanonicalizationMethodType canonicalizationMethod;
|
||||
protected SignatureMethodType signatureMethod;
|
||||
protected List<ReferenceType> reference = new ArrayList<ReferenceType>();
|
||||
protected List<ReferenceType> reference = new ArrayList<>();
|
||||
protected String id;
|
||||
|
||||
/**
|
||||
|
|
|
@ -44,7 +44,7 @@ import java.util.List;
|
|||
*/
|
||||
public class TransformType {
|
||||
|
||||
protected List<Object> content = new ArrayList<Object>();
|
||||
protected List<Object> content = new ArrayList<>();
|
||||
protected URI algorithm;
|
||||
|
||||
public TransformType(URI algorithm) {
|
||||
|
|
|
@ -42,7 +42,7 @@ import java.util.List;
|
|||
*/
|
||||
public class TransformsType {
|
||||
|
||||
protected List<TransformType> transform = new ArrayList<TransformType>();
|
||||
protected List<TransformType> transform = new ArrayList<>();
|
||||
|
||||
public void addTransformsType(TransformType tt) {
|
||||
this.transform.add(tt);
|
||||
|
|
|
@ -48,7 +48,7 @@ import java.util.List;
|
|||
*/
|
||||
public class X509DataType {
|
||||
|
||||
protected List<Object> x509IssuerSerialOrX509SKIOrX509SubjectName = new ArrayList<Object>();
|
||||
protected List<Object> x509IssuerSerialOrX509SKIOrX509SubjectName = new ArrayList<>();
|
||||
|
||||
public void add(Object obj) {
|
||||
this.x509IssuerSerialOrX509SKIOrX509SubjectName.add(obj);
|
||||
|
|
|
@ -42,7 +42,7 @@ import java.util.List;
|
|||
*/
|
||||
public class EncryptionPropertiesType {
|
||||
|
||||
protected List<EncryptionPropertyType> encryptionProperty = new ArrayList<EncryptionPropertyType>();
|
||||
protected List<EncryptionPropertyType> encryptionProperty = new ArrayList<>();
|
||||
protected String id;
|
||||
|
||||
public void addEncryptionProperty(EncryptionPropertyType enc) {
|
||||
|
|
|
@ -47,7 +47,7 @@ public class EncryptionPropertyType {
|
|||
|
||||
protected URI target;
|
||||
protected String id;
|
||||
private Map<QName, String> otherAttributes = new HashMap<QName, String>();
|
||||
private Map<QName, String> otherAttributes = new HashMap<>();
|
||||
|
||||
/**
|
||||
* Gets the value of the target property.
|
||||
|
|
|
@ -61,7 +61,7 @@ public class ReferenceList {
|
|||
}
|
||||
}
|
||||
|
||||
private List<References> referencesList = new ArrayList<References>();
|
||||
private List<References> referencesList = new ArrayList<>();
|
||||
|
||||
public void add(References ref) {
|
||||
this.referencesList.add(ref);
|
||||
|
|
|
@ -43,7 +43,7 @@ import java.util.List;
|
|||
*/
|
||||
public class TransformsType {
|
||||
|
||||
protected List<TransformType> transform = new ArrayList<TransformType>();
|
||||
protected List<TransformType> transform = new ArrayList<>();
|
||||
|
||||
public void add(TransformType tt) {
|
||||
this.transform.add(tt);
|
||||
|
|
Loading…
Reference in a new issue