KEYCLOAK-12205 Use diamond operator in package "org.keycloak.dom.saml.v2.ac" from module "saml-core-api"
This commit is contained in:
parent
de307847ff
commit
71e51b55df
24 changed files with 24 additions and 24 deletions
|
@ -163,7 +163,7 @@ public class ActivationPinType {
|
|||
*/
|
||||
public List<ExtensionType> getExtension() {
|
||||
if (extension == null) {
|
||||
extension = new ArrayList<ExtensionType>();
|
||||
extension = new ArrayList<>();
|
||||
}
|
||||
return this.extension;
|
||||
}
|
||||
|
|
|
@ -123,7 +123,7 @@ public class AuthenticatorBaseType {
|
|||
*/
|
||||
public List<JAXBElement<?>> getContent() {
|
||||
if (content == null) {
|
||||
content = new ArrayList<JAXBElement<?>>();
|
||||
content = new ArrayList<>();
|
||||
}
|
||||
return this.content;
|
||||
}
|
||||
|
|
|
@ -292,7 +292,7 @@ public class AuthenticatorTransportProtocolType {
|
|||
*/
|
||||
public List<ExtensionType> getExtension() {
|
||||
if (extension == null) {
|
||||
extension = new ArrayList<ExtensionType>();
|
||||
extension = new ArrayList<>();
|
||||
}
|
||||
return this.extension;
|
||||
}
|
||||
|
|
|
@ -196,7 +196,7 @@ public class AuthnContextDeclarationBaseType {
|
|||
*/
|
||||
public List<ExtensionType> getExtension() {
|
||||
if (extension == null) {
|
||||
extension = new ArrayList<ExtensionType>();
|
||||
extension = new ArrayList<>();
|
||||
}
|
||||
return this.extension;
|
||||
}
|
||||
|
|
|
@ -143,7 +143,7 @@ public class AuthnMethodBaseType {
|
|||
*/
|
||||
public List<ExtensionType> getExtension() {
|
||||
if (extension == null) {
|
||||
extension = new ArrayList<ExtensionType>();
|
||||
extension = new ArrayList<>();
|
||||
}
|
||||
return this.extension;
|
||||
}
|
||||
|
|
|
@ -124,7 +124,7 @@ public class ComplexAuthenticatorType {
|
|||
*/
|
||||
public List<JAXBElement<?>> getContent() {
|
||||
if (content == null) {
|
||||
content = new ArrayList<JAXBElement<?>>();
|
||||
content = new ArrayList<>();
|
||||
}
|
||||
return this.content;
|
||||
}
|
||||
|
|
|
@ -79,7 +79,7 @@ public class ExtensionOnlyType {
|
|||
*/
|
||||
public List<ExtensionType> getExtension() {
|
||||
if (extension == null) {
|
||||
extension = new ArrayList<ExtensionType>();
|
||||
extension = new ArrayList<>();
|
||||
}
|
||||
return this.extension;
|
||||
}
|
||||
|
|
|
@ -80,7 +80,7 @@ public class ExtensionType {
|
|||
*/
|
||||
public List<Object> getAny() {
|
||||
if (any == null) {
|
||||
any = new ArrayList<Object>();
|
||||
any = new ArrayList<>();
|
||||
}
|
||||
return this.any;
|
||||
}
|
||||
|
|
|
@ -79,7 +79,7 @@ public class GoverningAgreementsType {
|
|||
*/
|
||||
public List<GoverningAgreementRefType> getGoverningAgreementRef() {
|
||||
if (governingAgreementRef == null) {
|
||||
governingAgreementRef = new ArrayList<GoverningAgreementRefType>();
|
||||
governingAgreementRef = new ArrayList<>();
|
||||
}
|
||||
return this.governingAgreementRef;
|
||||
}
|
||||
|
|
|
@ -147,7 +147,7 @@ public class IdentificationType {
|
|||
*/
|
||||
public List<ExtensionType> getExtension() {
|
||||
if (extension == null) {
|
||||
extension = new ArrayList<ExtensionType>();
|
||||
extension = new ArrayList<>();
|
||||
}
|
||||
return this.extension;
|
||||
}
|
||||
|
|
|
@ -100,7 +100,7 @@ public class KeyActivationType {
|
|||
*/
|
||||
public List<ExtensionType> getExtension() {
|
||||
if (extension == null) {
|
||||
extension = new ArrayList<ExtensionType>();
|
||||
extension = new ArrayList<>();
|
||||
}
|
||||
return this.extension;
|
||||
}
|
||||
|
|
|
@ -121,7 +121,7 @@ public class OperationalProtectionType {
|
|||
*/
|
||||
public List<ExtensionType> getExtension() {
|
||||
if (extension == null) {
|
||||
extension = new ArrayList<ExtensionType>();
|
||||
extension = new ArrayList<>();
|
||||
}
|
||||
return this.extension;
|
||||
}
|
||||
|
|
|
@ -150,7 +150,7 @@ public class PasswordType {
|
|||
*/
|
||||
public List<ExtensionType> getExtension() {
|
||||
if (extension == null) {
|
||||
extension = new ArrayList<ExtensionType>();
|
||||
extension = new ArrayList<>();
|
||||
}
|
||||
return this.extension;
|
||||
}
|
||||
|
|
|
@ -190,7 +190,7 @@ public class PrincipalAuthenticationMechanismType {
|
|||
*/
|
||||
public List<ExtensionType> getExtension() {
|
||||
if (extension == null) {
|
||||
extension = new ArrayList<ExtensionType>();
|
||||
extension = new ArrayList<>();
|
||||
}
|
||||
return this.extension;
|
||||
}
|
||||
|
|
|
@ -142,7 +142,7 @@ public class PrivateKeyProtectionType {
|
|||
*/
|
||||
public List<ExtensionType> getExtension() {
|
||||
if (extension == null) {
|
||||
extension = new ArrayList<ExtensionType>();
|
||||
extension = new ArrayList<>();
|
||||
}
|
||||
return this.extension;
|
||||
}
|
||||
|
|
|
@ -85,7 +85,7 @@ public class PublicKeyType {
|
|||
*/
|
||||
public List<ExtensionType> getExtension() {
|
||||
if (extension == null) {
|
||||
extension = new ArrayList<ExtensionType>();
|
||||
extension = new ArrayList<>();
|
||||
}
|
||||
return this.extension;
|
||||
}
|
||||
|
|
|
@ -121,7 +121,7 @@ public class SecretKeyProtectionType {
|
|||
*/
|
||||
public List<ExtensionType> getExtension() {
|
||||
if (extension == null) {
|
||||
extension = new ArrayList<ExtensionType>();
|
||||
extension = new ArrayList<>();
|
||||
}
|
||||
return this.extension;
|
||||
}
|
||||
|
|
|
@ -100,7 +100,7 @@ public class SecurityAuditType {
|
|||
*/
|
||||
public List<ExtensionType> getExtension() {
|
||||
if (extension == null) {
|
||||
extension = new ArrayList<ExtensionType>();
|
||||
extension = new ArrayList<>();
|
||||
}
|
||||
return this.extension;
|
||||
}
|
||||
|
|
|
@ -90,7 +90,7 @@ public class SharedSecretChallengeResponseType {
|
|||
*/
|
||||
public List<ExtensionType> getExtension() {
|
||||
if (extension == null) {
|
||||
extension = new ArrayList<ExtensionType>();
|
||||
extension = new ArrayList<>();
|
||||
}
|
||||
return this.extension;
|
||||
}
|
||||
|
|
|
@ -123,7 +123,7 @@ public class TechnicalProtectionBaseType {
|
|||
*/
|
||||
public List<ExtensionType> getExtension() {
|
||||
if (extension == null) {
|
||||
extension = new ArrayList<ExtensionType>();
|
||||
extension = new ArrayList<>();
|
||||
}
|
||||
return this.extension;
|
||||
}
|
||||
|
|
|
@ -100,7 +100,7 @@ public class TokenType {
|
|||
*/
|
||||
public List<ExtensionType> getExtension() {
|
||||
if (extension == null) {
|
||||
extension = new ArrayList<ExtensionType>();
|
||||
extension = new ArrayList<>();
|
||||
}
|
||||
return this.extension;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue