printType called with type.getHint()

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1153 379699f6-c40d-0410-875b-85095c16579e
branch_1_1
jochen 26 years ago
parent 28514944da
commit 2402d437c1
  1. 3
      jode/jode/expr/ConstantArrayOperator.java
  2. 2
      jode/jode/expr/NewArrayOperator.java

@ -98,7 +98,7 @@ public class ConstantArrayOperator extends Operator {
throws java.io.IOException {
if (!isInitializer) {
writer.print("new ");
writer.printType(type);
writer.printType(type.getHint());
writer.print(" ");
}
writer.openBraceNoSpace();
@ -120,4 +120,3 @@ public class ConstantArrayOperator extends Operator {
writer.closeBraceNoSpace();
}
}

@ -55,7 +55,7 @@ public class NewArrayOperator extends Operator {
depth++;
}
writer.print("new ");
writer.printType(flat);
writer.printType(flat.getHint());
for (int i=0; i< depth; i++) {
writer.print("[");
if (i < subExpressions.length)

Loading…
Cancel
Save