Skip to content

Commit 0acc170

Browse files
committed
Remove unused import, format lines
1 parent c67cb83 commit 0acc170

File tree

6 files changed

+150
-154
lines changed

6 files changed

+150
-154
lines changed

src/main/java/com/adyen/model/SplitAmount.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@
2121
package com.adyen.model;
2222

2323

24-
import com.google.gson.annotations.SerializedName;
25-
2624
import java.util.Objects;
25+
import com.google.gson.annotations.SerializedName;
2726

2827
/**
2928
* SplitAmount
@@ -71,8 +70,7 @@ public boolean equals(java.lang.Object o) {
7170
return false;
7271
}
7372
SplitAmount splitAmount = (SplitAmount) o;
74-
return Objects.equals(this.currency, splitAmount.currency) &&
75-
Objects.equals(this.value, splitAmount.value);
73+
return Objects.equals(this.currency, splitAmount.currency) && Objects.equals(this.value, splitAmount.value);
7674
}
7775

7876
@Override
@@ -92,8 +90,7 @@ public String toString() {
9290
}
9391

9492
/**
95-
* Convert the given object to string with each line indented by 4 spaces
96-
* (except the first line).
93+
* Convert the given object to string with each line indented by 4 spaces (except the first line).
9794
*/
9895
private String toIndentedString(java.lang.Object o) {
9996
if (o == null) {

src/main/java/com/adyen/model/ThreeDS2RequestData.java

Lines changed: 31 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,14 @@
2121
package com.adyen.model;
2222

2323

24+
import java.io.IOException;
25+
import java.util.Objects;
2426
import com.google.gson.TypeAdapter;
2527
import com.google.gson.annotations.JsonAdapter;
2628
import com.google.gson.annotations.SerializedName;
2729
import com.google.gson.stream.JsonReader;
2830
import com.google.gson.stream.JsonWriter;
2931

30-
import java.io.IOException;
31-
import java.util.Objects;
32-
3332

3433
/**
3534
* ThreeDS2RequestData
@@ -318,25 +317,38 @@ public boolean equals(java.lang.Object o) {
318317
return false;
319318
}
320319
ThreeDS2RequestData threeDS2RequestData = (ThreeDS2RequestData) o;
321-
return Objects.equals(this.authenticationOnly, threeDS2RequestData.authenticationOnly) &&
322-
Objects.equals(this.challengeIndicator, threeDS2RequestData.challengeIndicator) &&
323-
Objects.equals(this.deviceChannel, threeDS2RequestData.deviceChannel) &&
324-
Objects.equals(this.deviceRenderOptions, threeDS2RequestData.deviceRenderOptions) &&
325-
Objects.equals(this.notificationURL, threeDS2RequestData.notificationURL) &&
326-
Objects.equals(this.sdkAppID, threeDS2RequestData.sdkAppID) &&
327-
Objects.equals(this.sdkEncData, threeDS2RequestData.sdkEncData) &&
328-
Objects.equals(this.sdkEphemPubKey, threeDS2RequestData.sdkEphemPubKey) &&
329-
Objects.equals(this.sdkMaxTimeout, threeDS2RequestData.sdkMaxTimeout) &&
330-
Objects.equals(this.sdkReferenceNumber, threeDS2RequestData.sdkReferenceNumber) &&
331-
Objects.equals(this.sdkTransID, threeDS2RequestData.sdkTransID) &&
332-
Objects.equals(this.threeDSCompInd, threeDS2RequestData.threeDSCompInd) &&
333-
Objects.equals(this.threeDSRequestorURL, threeDS2RequestData.threeDSRequestorURL) &&
334-
Objects.equals(this.threeDSServerTransID, threeDS2RequestData.threeDSServerTransID);
320+
return Objects.equals(this.authenticationOnly, threeDS2RequestData.authenticationOnly)
321+
&& Objects.equals(this.challengeIndicator, threeDS2RequestData.challengeIndicator)
322+
&& Objects.equals(this.deviceChannel, threeDS2RequestData.deviceChannel)
323+
&& Objects.equals(this.deviceRenderOptions, threeDS2RequestData.deviceRenderOptions)
324+
&& Objects.equals(this.notificationURL, threeDS2RequestData.notificationURL)
325+
&& Objects.equals(this.sdkAppID, threeDS2RequestData.sdkAppID)
326+
&& Objects.equals(this.sdkEncData, threeDS2RequestData.sdkEncData)
327+
&& Objects.equals(this.sdkEphemPubKey, threeDS2RequestData.sdkEphemPubKey)
328+
&& Objects.equals(this.sdkMaxTimeout, threeDS2RequestData.sdkMaxTimeout)
329+
&& Objects.equals(this.sdkReferenceNumber, threeDS2RequestData.sdkReferenceNumber)
330+
&& Objects.equals(this.sdkTransID, threeDS2RequestData.sdkTransID)
331+
&& Objects.equals(this.threeDSCompInd, threeDS2RequestData.threeDSCompInd)
332+
&& Objects.equals(this.threeDSRequestorURL, threeDS2RequestData.threeDSRequestorURL)
333+
&& Objects.equals(this.threeDSServerTransID, threeDS2RequestData.threeDSServerTransID);
335334
}
336335

337336
@Override
338337
public int hashCode() {
339-
return Objects.hash(authenticationOnly, challengeIndicator, deviceChannel, deviceRenderOptions, notificationURL, sdkAppID, sdkEncData, sdkEphemPubKey, sdkMaxTimeout, sdkReferenceNumber, sdkTransID, threeDSCompInd, threeDSRequestorURL, threeDSServerTransID);
338+
return Objects.hash(authenticationOnly,
339+
challengeIndicator,
340+
deviceChannel,
341+
deviceRenderOptions,
342+
notificationURL,
343+
sdkAppID,
344+
sdkEncData,
345+
sdkEphemPubKey,
346+
sdkMaxTimeout,
347+
sdkReferenceNumber,
348+
sdkTransID,
349+
threeDSCompInd,
350+
threeDSRequestorURL,
351+
threeDSServerTransID);
340352
}
341353

342354
@Override
@@ -363,8 +375,7 @@ public String toString() {
363375
}
364376

365377
/**
366-
* Convert the given object to string with each line indented by 4 spaces
367-
* (except the first line).
378+
* Convert the given object to string with each line indented by 4 spaces (except the first line).
368379
*/
369380
private String toIndentedString(java.lang.Object o) {
370381
if (o == null) {

src/main/java/com/adyen/model/ThreeDS2Result.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
import java.util.Objects;
44
import com.google.gson.annotations.SerializedName;
5+
56
/*
6-
* ThreeDS2Result
7-
*/
7+
* ThreeDS2Result
8+
*/
89
public class ThreeDS2Result {
910

1011
@SerializedName("authenticationValue")

src/main/java/com/adyen/model/checkout/PaymentMethodsResponse.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,10 @@
2121

2222
package com.adyen.model.checkout;
2323

24-
import com.google.gson.annotations.SerializedName;
25-
2624
import java.util.ArrayList;
2725
import java.util.List;
2826
import java.util.Objects;
27+
import com.google.gson.annotations.SerializedName;
2928

3029
/**
3130
* PaymentMethodsResponse
@@ -103,8 +102,7 @@ public boolean equals(Object o) {
103102
return false;
104103
}
105104
PaymentMethodsResponse paymentMethodsResponse = (PaymentMethodsResponse) o;
106-
return Objects.equals(this.oneClickPaymentMethods, paymentMethodsResponse.oneClickPaymentMethods) &&
107-
Objects.equals(this.paymentMethods, paymentMethodsResponse.paymentMethods);
105+
return Objects.equals(this.oneClickPaymentMethods, paymentMethodsResponse.oneClickPaymentMethods) && Objects.equals(this.paymentMethods, paymentMethodsResponse.paymentMethods);
108106
}
109107

110108
@Override
@@ -124,8 +122,7 @@ public String toString() {
124122
}
125123

126124
/**
127-
* Convert the given object to string with each line indented by 4 spaces
128-
* (except the first line).
125+
* Convert the given object to string with each line indented by 4 spaces (except the first line).
129126
*/
130127
private String toIndentedString(Object o) {
131128
if (o == null) {

src/main/java/com/adyen/model/checkout/PaymentResultRequest.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@
2222

2323
package com.adyen.model.checkout;
2424

25-
import com.google.gson.annotations.SerializedName;
26-
2725
import java.util.Objects;
26+
import com.google.gson.annotations.SerializedName;
2827

2928
/**
3029
* PaymentResultRequest
@@ -81,8 +80,7 @@ public String toString() {
8180
}
8281

8382
/**
84-
* Convert the given object to string with each line indented by 4 spaces
85-
* (except the first line).
83+
* Convert the given object to string with each line indented by 4 spaces (except the first line).
8684
*/
8785
private String toIndentedString(Object o) {
8886
if (o == null) {

0 commit comments

Comments
 (0)