Skip to content

Commit 53b952a

Browse files
committed
Remove previous constructor and style changes
1 parent 362fec2 commit 53b952a

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

AndroidBillingLibrary/src/net/robotmedia/billing/model/Transaction.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -74,17 +74,6 @@ public static Transaction parse(JSONObject json) throws JSONException {
7474

7575
public Transaction() {}
7676

77-
public Transaction(String orderId, String productId, String packageName, PurchaseState purchaseState,
78-
String notificationId, long purchaseTime, String developerPayload) {
79-
this.orderId = orderId;
80-
this.productId = productId;
81-
this.packageName = packageName;
82-
this.purchaseState = purchaseState;
83-
this.notificationId = notificationId;
84-
this.purchaseTime = purchaseTime;
85-
this.developerPayload = developerPayload;
86-
}
87-
8877
public Transaction(String orderId, String productId, String packageName, PurchaseState purchaseState,
8978
String notificationId, long purchaseTime, String developerPayload, String signature, String signedData) {
9079
this.orderId = orderId;
@@ -140,19 +129,16 @@ public boolean equals(Object obj) {
140129
return false;
141130
if (purchaseTime != other.purchaseTime)
142131
return false;
143-
144132
if (signature == null) {
145133
if (other.signature != null)
146134
return false;
147135
} else if (!signature.equals(other.signature))
148136
return false;
149-
150137
if (signedData == null) {
151138
if (other.signedData != null)
152139
return false;
153140
} else if (!signedData.equals(other.signedData))
154141
return false;
155-
156142
return true;
157143
}
158144

0 commit comments

Comments
 (0)