applied formatter
This commit is contained in:
parent
474a3675f1
commit
435f198298
|
@ -64,8 +64,7 @@ public class Employee {
|
||||||
if (getClass() != obj.getClass())
|
if (getClass() != obj.getClass())
|
||||||
return false;
|
return false;
|
||||||
Employee other = (Employee) obj;
|
Employee other = (Employee) obj;
|
||||||
return id == other.id && Objects.equals(name, other.name) && Objects.equals(position, other.position)
|
return id == other.id && Objects.equals(name, other.name) && Objects.equals(position, other.position) && Double.doubleToLongBits(salary) == Double.doubleToLongBits(other.salary);
|
||||||
&& Double.doubleToLongBits(salary) == Double.doubleToLongBits(other.salary);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue