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:
James Strachan 2006-03-16 19:48:46 +00:00
parent 68a542a097
commit 2b1a0f0c94
1 changed files with 1 additions and 1 deletions

View File

@ -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")) {