mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
fixed setParent
This commit is contained in:
parent
7b76afee93
commit
b0609a1cb3
1 changed files with 0 additions and 4 deletions
|
@ -67,10 +67,6 @@ abstract class CoreGTreeNode implements Cloneable {
|
||||||
* @param parent the node that this node is being added to.
|
* @param parent the node that this node is being added to.
|
||||||
*/
|
*/
|
||||||
synchronized final void setParent(GTreeNode parent) {
|
synchronized final void setParent(GTreeNode parent) {
|
||||||
if (this.parent != null) {
|
|
||||||
throw new IllegalStateException(
|
|
||||||
"Attempted to assign a node to a parent more than once!");
|
|
||||||
}
|
|
||||||
this.parent = parent;
|
this.parent = parent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue