Author: scabanovich
Date: 2008-03-31 09:24:09 -0400 (Mon, 31 Mar 2008)
New Revision: 7209
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/impl/OrderedChildren.java
Log:
JBIDE-1957
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/impl/OrderedChildren.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/impl/OrderedChildren.java 2008-03-31
13:08:09 UTC (rev 7208)
+++
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/impl/OrderedChildren.java 2008-03-31
13:24:09 UTC (rev 7209)
@@ -51,7 +51,7 @@
if(!super.removeObject(o)) return false;
int i = getIndex(o);
if(i >= 0) synchronized (this) {
- if(list.length == 1) {
+ if(alist.size() == 1) {
list = EMPTY;
alist.clear();
} else {
Show replies by date