diff options
author | Bernard Normier <bernard@zeroc.com> | 2005-06-25 16:48:42 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2005-06-25 16:48:42 +0000 |
commit | 68c4c2ad068c5647bef41659bb16811374d1fedc (patch) | |
tree | fee0b1ea8e3d0f32c53172e8a7e591eba7342db6 /java/src/IceGrid/TreeNode/NodeVar.java | |
parent | Added minimal client to CE build (diff) | |
download | ice-68c4c2ad068c5647bef41659bb16811374d1fedc.tar.bz2 ice-68c4c2ad068c5647bef41659bb16811374d1fedc.tar.xz ice-68c4c2ad068c5647bef41659bb16811374d1fedc.zip |
Fixed build
Diffstat (limited to 'java/src/IceGrid/TreeNode/NodeVar.java')
-rwxr-xr-x | java/src/IceGrid/TreeNode/NodeVar.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/java/src/IceGrid/TreeNode/NodeVar.java b/java/src/IceGrid/TreeNode/NodeVar.java index 916276c9cae..81e0451aba5 100755 --- a/java/src/IceGrid/TreeNode/NodeVar.java +++ b/java/src/IceGrid/TreeNode/NodeVar.java @@ -14,12 +14,13 @@ class NodeVar extends Leaf {
NodeVar(NodeDescriptor descriptor)
{
- _descriptor = descriptor;
+ super(descriptor.name);
+ rebuild(descriptor);
}
- public String toString()
+ void rebuild(NodeDescriptor descriptor)
{
- return _descriptor.name;
+ _descriptor = descriptor;
}
private NodeDescriptor _descriptor;
|