mirror of https://github.com/apache/activemq.git
patch the code generation to work with the latest JNDI changes
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378493 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c85bb24cb4
commit
73603c3d71
|
@ -89,8 +89,8 @@ for (pkg in jclass.importedPackages) {
|
|||
}
|
||||
}
|
||||
|
||||
def baseClass = "org.apache.activemq.openwire.DataStreamMarshaller"
|
||||
if( !jclass.superclass.simpleName.equals("Object") ) {
|
||||
def baseClass = "DataStreamMarshaller"
|
||||
if (!jclass.superclass.simpleName.equals("JNDIBaseStorable") && !jclass.superclass.simpleName.equals("Object") ) {
|
||||
baseClass = jclass.superclass.simpleName + "Marshaller";
|
||||
}
|
||||
|
||||
|
|
|
@ -92,7 +92,7 @@ for (pkg in jclass.importedPackages) {
|
|||
}
|
||||
|
||||
def baseClass = "DataFileGeneratorTestSupport"
|
||||
if( !jclass.superclass.simpleName.equals("Object") ) {
|
||||
if (!jclass.superclass.simpleName.equals("JNDIBaseStorable") && !jclass.superclass.simpleName.equals("Object") ) {
|
||||
baseClass = jclass.superclass.simpleName + "Test";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue