mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@550454 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b266786728
commit
f50bf9cea0
|
@ -235,7 +235,6 @@ out.println("apr_status_t ow_marshall(ow_byte_buffer *buffer, ow_DataStructure *
|
|||
protected void generateFile(PrintWriter out) throws Exception {
|
||||
|
||||
String structName = jclass.getSimpleName();
|
||||
String type = "OW_" + structName.toUpperCase() + "_TYPE";
|
||||
|
||||
out.println("");
|
||||
out.println("typedef struct ow_"+structName+" {");
|
||||
|
|
|
@ -108,8 +108,6 @@ out.println("import " + clazz.getQualifiedName() + ";");
|
|||
}
|
||||
}
|
||||
|
||||
boolean marshallerAware = isMarshallAware(jclass);
|
||||
|
||||
out.println("");
|
||||
out.println("/**");
|
||||
out.println(" * Test case for the OpenWire marshalling for "+jclass.getSimpleName()+"");
|
||||
|
|
|
@ -146,7 +146,7 @@ public abstract class MultiSourceGenerator extends OpenWireGenerator {
|
|||
}
|
||||
|
||||
public boolean isAbstractClass() {
|
||||
return jclass != null & jclass.isAbstract();
|
||||
return jclass != null && jclass.isAbstract();
|
||||
}
|
||||
|
||||
public String getAbstractClassText() {
|
||||
|
|
|
@ -158,7 +158,7 @@ public abstract class SingleSourceGenerator extends OpenWireGenerator {
|
|||
}
|
||||
|
||||
public boolean isAbstractClass() {
|
||||
return jclass != null & jclass.isAbstract();
|
||||
return jclass != null && jclass.isAbstract();
|
||||
}
|
||||
|
||||
public String getAbstractClassText() {
|
||||
|
|
Loading…
Reference in New Issue