temp allow childrenToArray in non-EDT

This commit is contained in:
Anna Kozlova
2012-09-11 14:18:45 +04:00
parent 246669e525
commit ffd1b4385f
@@ -754,7 +754,7 @@ public final class TreeUtil {
@NotNull
public static ArrayList<TreeNode> childrenToArray(@NotNull final TreeNode node) {
ApplicationManager.getApplication().assertIsDispatchThread();
//ApplicationManager.getApplication().assertIsDispatchThread();
final ArrayList<TreeNode> result = new ArrayList<TreeNode>();
for(int i = 0; i < node.getChildCount(); i++){
TreeNode child = node.getChildAt(i);