Skip to content

Commit d009c55

Browse files
committed
Modified ApplicationId#equals to compare appIds
1 parent dfc83fd commit d009c55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/apache/spark/ApplicationId.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public boolean equals(Object other) {
3737
} else if (other == this) {
3838
return true;
3939
} else {
40-
return appId.equals(other);
40+
return appId.equals(((ApplicationId)other).appId);
4141
}
4242
}
4343

0 commit comments

Comments
 (0)