ExpandableItems work in tests

This commit is contained in:
Anton Makeev
2012-08-23 16:43:51 +02:00
parent e45ba162d0
commit fbe9d53190
@@ -144,8 +144,6 @@ abstract public class AbstractExpandableItemsHandler<KeyType, ComponentType exte
@Override
public void setEnabled(boolean enabled) {
ApplicationManager.getApplication().assertIsDispatchThread();
isEnabled = enabled;
if (!isEnabled) hideHint();
}
@@ -153,8 +151,6 @@ abstract public class AbstractExpandableItemsHandler<KeyType, ComponentType exte
@NotNull
@Override
public Collection<KeyType> getExpandedItems() {
ApplicationManager.getApplication().assertIsDispatchThread();
return myKey == null ? Collections.<KeyType>emptyList() : Collections.singleton(myKey);
}