summaryrefslogtreecommitdiff
path: root/java/src/IceGrid/TreeNode/NodeVar.java
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2005-06-25 16:48:42 +0000
committerBernard Normier <bernard@zeroc.com>2005-06-25 16:48:42 +0000
commit68c4c2ad068c5647bef41659bb16811374d1fedc (patch)
treefee0b1ea8e3d0f32c53172e8a7e591eba7342db6 /java/src/IceGrid/TreeNode/NodeVar.java
parentAdded minimal client to CE build (diff)
downloadice-68c4c2ad068c5647bef41659bb16811374d1fedc.tar.bz2
ice-68c4c2ad068c5647bef41659bb16811374d1fedc.tar.xz
ice-68c4c2ad068c5647bef41659bb16811374d1fedc.zip
Fixed build
Diffstat (limited to 'java/src/IceGrid/TreeNode/NodeVar.java')
-rwxr-xr-xjava/src/IceGrid/TreeNode/NodeVar.java7
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;