Remove log statement about ignored event if component not part of rocket
This commit is contained in:
parent
49858f589f
commit
5a8fa640a2
@ -7,7 +7,6 @@ import java.util.List;
|
|||||||
import java.util.NoSuchElementException;
|
import java.util.NoSuchElementException;
|
||||||
|
|
||||||
import net.sf.openrocket.l10n.Translator;
|
import net.sf.openrocket.l10n.Translator;
|
||||||
import net.sf.openrocket.logging.LogHelper;
|
|
||||||
import net.sf.openrocket.preset.ComponentPreset;
|
import net.sf.openrocket.preset.ComponentPreset;
|
||||||
import net.sf.openrocket.startup.Application;
|
import net.sf.openrocket.startup.Application;
|
||||||
import net.sf.openrocket.util.ArrayList;
|
import net.sf.openrocket.util.ArrayList;
|
||||||
@ -24,7 +23,6 @@ import net.sf.openrocket.util.UniqueID;
|
|||||||
|
|
||||||
|
|
||||||
public abstract class RocketComponent implements ChangeSource, Cloneable, Iterable<RocketComponent> {
|
public abstract class RocketComponent implements ChangeSource, Cloneable, Iterable<RocketComponent> {
|
||||||
private static final LogHelper log = Application.getLogger();
|
|
||||||
private static final Translator trans = Application.getTranslator();
|
private static final Translator trans = Application.getTranslator();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -1527,7 +1525,6 @@ public abstract class RocketComponent implements ChangeSource, Cloneable, Iterab
|
|||||||
checkState();
|
checkState();
|
||||||
if (parent == null) {
|
if (parent == null) {
|
||||||
/* Ignore if root invalid. */
|
/* Ignore if root invalid. */
|
||||||
log.debug("Attempted firing event " + e + " with root " + this.getComponentName() + ", ignoring event");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
getRoot().fireComponentChangeEvent(e);
|
getRoot().fireComponentChangeEvent(e);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user