summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Gemmell <robbie@apache.org>2012-02-16 11:53:07 +0000
committerRobert Gemmell <robbie@apache.org>2012-02-16 11:53:07 +0000
commitdaef6aecf7d9841b4d7c4832fe856b4ba723e9d0 (patch)
treee1b14808f29a46fa1af6ca0acaac821a49ffd973
parent2aebd69ca7084564c764d8c63ffc76be12d9181b (diff)
downloadqpid-python-daef6aecf7d9841b4d7c4832fe856b4ba723e9d0.tar.gz
QPID-3846: stop adding useless empty nodes for connections, exchanges, queues when no virtual hosts are accessable
Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1244948 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/views/NavigationView.java16
1 files changed, 1 insertions, 15 deletions
diff --git a/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/views/NavigationView.java b/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/views/NavigationView.java
index d2cf99a1d4..4a956aaeab 100644
--- a/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/views/NavigationView.java
+++ b/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/views/NavigationView.java
@@ -511,21 +511,7 @@ public class NavigationView extends ViewPart
}
}
}
- // To make it work with the broker without virtual host implementation.
- // This will add the default nodes to the domain node
- boolean hasVirtualHost = false;
- for (TreeObject child : serverNode.getChildren())
- {
- if (child.getName().startsWith(VIRTUAL_HOST))
- {
- hasVirtualHost = true;
- break;
- }
- }
-
- if (!hasVirtualHost){
- addDefaultNodes(serverNode);
- }
+
}
/**