Add null check to JdScope equals implementation

GitOrigin-RevId: 882aadeed690713758f7d2f9bc0cf672d31fca1c
This commit is contained in:
Izmar Verhage
2022-07-01 15:41:24 +00:00
committed by intellij-monorepo-bot
parent 9ebb17f2a9
commit 65e5db97fa
@@ -32,6 +32,7 @@ public class JdkScope extends LibraryScopeBase {
@Override
public boolean equals(Object object) {
if (object == null) return false;
if (object == this) return true;
if (object.getClass() != getClass()) return false;