KEYCLOAK-12205 Use diamond operator in package "org.keycloak.dom.saml.v2.ac" from module "saml-core-api"

This commit is contained in:
Andrei Arlou 2019-11-22 23:29:44 +03:00 committed by Stian Thorgersen
parent de307847ff
commit 71e51b55df
24 changed files with 24 additions and 24 deletions

View File

@ -163,7 +163,7 @@ public class ActivationPinType {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}

View File

@ -123,7 +123,7 @@ public class AuthenticatorBaseType {
*/
public List<JAXBElement<?>> getContent() {
if (content == null) {
content = new ArrayList<JAXBElement<?>>();
content = new ArrayList<>();
}
return this.content;
}

View File

@ -292,7 +292,7 @@ public class AuthenticatorTransportProtocolType {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}

View File

@ -196,7 +196,7 @@ public class AuthnContextDeclarationBaseType {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}

View File

@ -143,7 +143,7 @@ public class AuthnMethodBaseType {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}

View File

@ -124,7 +124,7 @@ public class ComplexAuthenticatorType {
*/
public List<JAXBElement<?>> getContent() {
if (content == null) {
content = new ArrayList<JAXBElement<?>>();
content = new ArrayList<>();
}
return this.content;
}

View File

@ -79,7 +79,7 @@ public class ExtensionOnlyType {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}

View File

@ -80,7 +80,7 @@ public class ExtensionType {
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
any = new ArrayList<>();
}
return this.any;
}

View File

@ -79,7 +79,7 @@ public class GoverningAgreementsType {
*/
public List<GoverningAgreementRefType> getGoverningAgreementRef() {
if (governingAgreementRef == null) {
governingAgreementRef = new ArrayList<GoverningAgreementRefType>();
governingAgreementRef = new ArrayList<>();
}
return this.governingAgreementRef;
}

View File

@ -147,7 +147,7 @@ public class IdentificationType {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}

View File

@ -100,7 +100,7 @@ public class KeyActivationType {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}

View File

@ -121,7 +121,7 @@ public class OperationalProtectionType {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}

View File

@ -150,7 +150,7 @@ public class PasswordType {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}

View File

@ -190,7 +190,7 @@ public class PrincipalAuthenticationMechanismType {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}

View File

@ -142,7 +142,7 @@ public class PrivateKeyProtectionType {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}

View File

@ -85,7 +85,7 @@ public class PublicKeyType {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}

View File

@ -121,7 +121,7 @@ public class SecretKeyProtectionType {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}

View File

@ -100,7 +100,7 @@ public class SecurityAuditType {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}

View File

@ -90,7 +90,7 @@ public class SharedSecretChallengeResponseType {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}

View File

@ -123,7 +123,7 @@ public class TechnicalProtectionBaseType {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}

View File

@ -100,7 +100,7 @@ public class TokenType {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}

View File

@ -28,7 +28,7 @@ import java.util.List;
*/
public class ExtensionListType {
protected List<ExtensionType> content = new ArrayList<ExtensionType>();
protected List<ExtensionType> content = new ArrayList<>();
public void add(ExtensionType obj) {
this.content.add(obj);

View File

@ -43,7 +43,7 @@ import java.util.List;
*/
public class GoverningAgreementsType {
protected List<GoverningAgreementRefType> governingAgreementRef = new ArrayList<GoverningAgreementRefType>();
protected List<GoverningAgreementRefType> governingAgreementRef = new ArrayList<>();
public void add(GoverningAgreementRefType gov) {
this.governingAgreementRef.add(gov);

View File

@ -28,7 +28,7 @@ import java.util.List;
*/
public class ObjectListType {
protected List<Object> content = new ArrayList<Object>();
protected List<Object> content = new ArrayList<>();
public void add(Object obj) {
this.content.add(obj);