CCM NG/ccm-core: Fixed several things in Bebop
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4694 8810af33-2d31-482b-a856-94f89814c4df
Former-commit-id: f2664dabb2
pull/2/head
parent
f9442055c6
commit
2b319e2434
|
|
@ -93,7 +93,6 @@ public class SimpleContainer extends SimpleComponent implements Container {
|
|||
*/
|
||||
public void add(Component pc) {
|
||||
Assert.isUnlocked(this);
|
||||
Assert.exists(pc);
|
||||
m_components.add(pc);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -93,6 +93,10 @@ public abstract class Traversal {
|
|||
throw new IllegalStateException
|
||||
("Component " + c + " is part of a cycle");
|
||||
}
|
||||
|
||||
LOGGER.debug("---");
|
||||
LOGGER.debug("Current component: '{}'", c);
|
||||
LOGGER.debug("Visiting: {}", m_visiting);
|
||||
|
||||
//s_log.debug("preorder called for component " + c.toString());
|
||||
|
||||
|
|
@ -108,7 +112,11 @@ public abstract class Traversal {
|
|||
}
|
||||
|
||||
for (Iterator i = c.children(); i.hasNext(); ) {
|
||||
preorder ((Component) i.next());
|
||||
final Component component = (Component) i.next();
|
||||
LOGGER.debug("Calling preorder for component '{}'...",
|
||||
component);
|
||||
LOGGER.debug("---");
|
||||
preorder (component);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue