mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Add null check to JdScope equals implementation
GitOrigin-RevId: 882aadeed690713758f7d2f9bc0cf672d31fca1c
This commit is contained in:
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user