Skip to content

Commit

Permalink
KEYCLOAK-12205 Use diamond operator in package "org.keycloak.dom.saml…
Browse files Browse the repository at this point in the history
….v2.ac" from module "saml-core-api"
  • Loading branch information
Captain1653 authored and stianst committed Nov 26, 2019
1 parent de30784 commit 71e51b5
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public void setActivationLimit(ActivationLimitType value) {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public class AuthenticatorBaseType {
*/
public List<JAXBElement<?>> getContent() {
if (content == null) {
content = new ArrayList<JAXBElement<?>>();
content = new ArrayList<>();
}
return this.content;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ public void setADSL(ExtensionOnlyType value) {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public void setGoverningAgreements(GoverningAgreementsType value) {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public void setAuthenticatorTransportProtocol(AuthenticatorTransportProtocolType
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public class ComplexAuthenticatorType {
*/
public List<JAXBElement<?>> getContent() {
if (content == null) {
content = new ArrayList<JAXBElement<?>>();
content = new ArrayList<>();
}
return this.content;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public class ExtensionOnlyType {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public class ExtensionType {
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
any = new ArrayList<>();
}
return this.any;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public class GoverningAgreementsType {
*/
public List<GoverningAgreementRefType> getGoverningAgreementRef() {
if (governingAgreementRef == null) {
governingAgreementRef = new ArrayList<GoverningAgreementRefType>();
governingAgreementRef = new ArrayList<>();
}
return this.governingAgreementRef;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public void setGoverningAgreements(GoverningAgreementsType value) {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public void setActivationPin(ActivationPinType value) {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public void setDeactivationCallCenter(ExtensionOnlyType value) {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public void setGeneration(Generation value) {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public void setActivationPin(ActivationPinType value) {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public void setKeySharing(KeySharingType value) {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public class PublicKeyType {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public void setKeyStorage(KeyStorageType value) {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public void setSwitchAudit(ExtensionOnlyType value) {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public class SharedSecretChallengeResponseType {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public void setSecretKeyProtection(SecretKeyProtectionType value) {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public void setTimeSyncToken(TimeSyncTokenType value) {
*/
public List<ExtensionType> getExtension() {
if (extension == null) {
extension = new ArrayList<ExtensionType>();
extension = new ArrayList<>();
}
return this.extension;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*/
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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
*/
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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*/
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);
Expand Down

0 comments on commit 71e51b5

Please sign in to comment.