mirror of https://github.com/apache/activemq.git
removed dead code
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357194 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bf65e7d3cf
commit
2c6156085c
|
@ -176,8 +176,6 @@ public class Main {
|
||||||
|
|
||||||
public String getVersion() throws Throwable {
|
public String getVersion() throws Throwable {
|
||||||
ClassLoader cl = getClassLoader();
|
ClassLoader cl = getClassLoader();
|
||||||
// Use reflection to get teh version
|
|
||||||
Object broker;
|
|
||||||
try {
|
try {
|
||||||
Class activeMQConnectionMetaData = cl.loadClass("org.activemq.ActiveMQConnectionMetaData");
|
Class activeMQConnectionMetaData = cl.loadClass("org.activemq.ActiveMQConnectionMetaData");
|
||||||
Field field = activeMQConnectionMetaData.getField("PROVIDER_VERSION");
|
Field field = activeMQConnectionMetaData.getField("PROVIDER_VERSION");
|
||||||
|
|
Loading…
Reference in New Issue