mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-23 01:55:10 +00:00
fixed formatting issues
This commit is contained in:
parent
45180358ca
commit
aef3c42eb0
1 changed files with 12 additions and 12 deletions
|
|
@ -56,7 +56,7 @@ public final class InsClaim {
|
|||
this.custId = custId;
|
||||
this.insuranceId = insuranceId;
|
||||
this.claimAmount = claimAmount;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
|
|
@ -73,41 +73,41 @@ public final class InsClaim {
|
|||
|
||||
@Override
|
||||
public boolean equals(final Object obj) {
|
||||
if (this == obj){
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (obj == null){
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (getClass() != obj.getClass()){
|
||||
if (getClass() != obj.getClass()) {
|
||||
return false;
|
||||
}
|
||||
InsClaim other = (InsClaim) obj;
|
||||
if (claimAmount != other.claimAmount){
|
||||
if (claimAmount != other.claimAmount) {
|
||||
return false;
|
||||
}
|
||||
if (claimID == null) {
|
||||
if (other.claimID != null){
|
||||
if (other.claimID != null) {
|
||||
return false;
|
||||
}
|
||||
} else if (!claimID.equals(other.claimID)){
|
||||
} else if (!claimID.equals(other.claimID)) {
|
||||
return false;
|
||||
}
|
||||
if (custId != other.custId){
|
||||
if (custId != other.custId) {
|
||||
return false;
|
||||
}
|
||||
if (insuranceId == null) {
|
||||
if (other.insuranceId != null){
|
||||
if (other.insuranceId != null) {
|
||||
return false;
|
||||
}
|
||||
} else if (!insuranceId.equals(other.insuranceId)){
|
||||
} else if (!insuranceId.equals(other.insuranceId)) {
|
||||
return false;
|
||||
}
|
||||
if (vin == null) {
|
||||
if (other.vin != null){
|
||||
if (other.vin != null) {
|
||||
return false;
|
||||
}
|
||||
} else if (!vin.equals(other.vin)){
|
||||
} else if (!vin.equals(other.vin)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue