mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
NPE
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
package com.intellij.find;
|
||||
|
||||
import com.intellij.openapi.diagnostic.Logger;
|
||||
import com.intellij.openapi.util.Comparing;
|
||||
import com.intellij.openapi.util.UserDataHolderBase;
|
||||
import com.intellij.openapi.util.text.StringUtil;
|
||||
import com.intellij.psi.search.SearchScope;
|
||||
@@ -712,7 +713,7 @@ public class FindModel extends UserDataHolderBase implements Cloneable {
|
||||
}
|
||||
|
||||
public void setCustomScope(final SearchScope customScope) {
|
||||
boolean changed = this.customScope.equals(customScope);
|
||||
boolean changed = Comparing.equal(this.customScope, customScope);
|
||||
this.customScope = customScope;
|
||||
if (changed) {
|
||||
notifyObservers();
|
||||
|
||||
Reference in New Issue
Block a user