reduce code

This commit is contained in:
shellhub 2021-06-30 08:40:21 +08:00
parent 156f7a67f4
commit ffb5212b9c

View File

@ -730,9 +730,7 @@ public class EqualExample {
EqualExample that = (EqualExample) o; EqualExample that = (EqualExample) o;
if (x != that.x) return false; return x == that.x && y == that.y && z == that.z;
if (y != that.y) return false;
return z == that.z;
} }
} }
``` ```