|
|
|
@ -33,11 +33,6 @@ public final class VehicleIdentificationNumber {
|
|
|
|
|
this.vin = vin;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public int hashCode() {
|
|
|
|
|
return this.vin.hashCode();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public boolean equals(Object obj) {
|
|
|
|
|
if (obj == this) {
|
|
|
|
@ -49,6 +44,11 @@ public final class VehicleIdentificationNumber {
|
|
|
|
|
return this.vin.equals(((VehicleIdentificationNumber) obj).vin);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public int hashCode() {
|
|
|
|
|
return this.vin.hashCode();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public String toString() {
|
|
|
|
|
return this.vin;
|
|
|
|
|