YARN-9340. [Clean-up] Remove NULL check before instanceof in ResourceRequestSetKey
(Contributed by Shweta Yakkali via Daniel Templeton) Change-Id: I932e29b36f086f7b7c76a250e33b473617ddbda1
This commit is contained in:
parent
1edf1914ac
commit
0e7e9013d4
@ -88,7 +88,7 @@ public ExecutionType getExeType() {
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (obj == null || !(obj instanceof SchedulerRequestKey)) {
|
||||
if (!(obj instanceof SchedulerRequestKey)) {
|
||||
return false;
|
||||
}
|
||||
if (!(obj instanceof ResourceRequestSetKey)) {
|
||||
|
Loading…
Reference in New Issue
Block a user