This commit is contained in:
anna
2011-02-27 16:52:08 +01:00
parent a89d18d0f0
commit e7d25e7775
@@ -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();