mirror of https://github.com/apache/activemq.git
updated to use the class name "BaseDataStructure" so that generated code mimicks the class structure of the Java code to avoid getting confused
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@386442 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
68a542a097
commit
2b1a0f0c94
|
@ -130,7 +130,7 @@ public abstract class OpenWireClassesScript extends OpenWireScript {
|
||||||
protected abstract void generateFile(PrintWriter out);
|
protected abstract void generateFile(PrintWriter out);
|
||||||
|
|
||||||
protected String getBaseClassName(JClass jclass) {
|
protected String getBaseClassName(JClass jclass) {
|
||||||
String answer = "AbstractCommand";
|
String answer = "BaseDataStructure";
|
||||||
if (superclass != null) {
|
if (superclass != null) {
|
||||||
String name = superclass.getSimpleName();
|
String name = superclass.getSimpleName();
|
||||||
if (name != null && !name.equals("Object")) {
|
if (name != null && !name.equals("Object")) {
|
||||||
|
|
Loading…
Reference in New Issue