mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-24 10:35:09 +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.custId = custId;
|
||||||
this.insuranceId = insuranceId;
|
this.insuranceId = insuranceId;
|
||||||
this.claimAmount = claimAmount;
|
this.claimAmount = claimAmount;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
@ -73,41 +73,41 @@ public final class InsClaim {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(final Object obj) {
|
public boolean equals(final Object obj) {
|
||||||
if (this == obj){
|
if (this == obj) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (obj == null){
|
if (obj == null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (getClass() != obj.getClass()){
|
if (getClass() != obj.getClass()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
InsClaim other = (InsClaim) obj;
|
InsClaim other = (InsClaim) obj;
|
||||||
if (claimAmount != other.claimAmount){
|
if (claimAmount != other.claimAmount) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (claimID == null) {
|
if (claimID == null) {
|
||||||
if (other.claimID != null){
|
if (other.claimID != null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} else if (!claimID.equals(other.claimID)){
|
} else if (!claimID.equals(other.claimID)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (custId != other.custId){
|
if (custId != other.custId) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (insuranceId == null) {
|
if (insuranceId == null) {
|
||||||
if (other.insuranceId != null){
|
if (other.insuranceId != null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} else if (!insuranceId.equals(other.insuranceId)){
|
} else if (!insuranceId.equals(other.insuranceId)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (vin == null) {
|
if (vin == null) {
|
||||||
if (other.vin != null){
|
if (other.vin != null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} else if (!vin.equals(other.vin)){
|
} else if (!vin.equals(other.vin)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue