fixed formatting issues

This commit is contained in:
Aniket Anerao 2022-08-24 22:33:56 +05:30
parent 45180358ca
commit aef3c42eb0

View file

@ -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;