From 76e9f0091f6c9434ffce7ddb1ae224add21f1832 Mon Sep 17 00:00:00 2001 From: jochen Date: Sat, 26 Jun 1999 18:25:53 +0000 Subject: [PATCH] type.getCanonic git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@915 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/expr/ConvertOperator.java | 2 +- jode/jode/expr/NewArrayOperator.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jode/jode/expr/ConvertOperator.java b/jode/jode/expr/ConvertOperator.java index cca9da3..5cc3566 100644 --- a/jode/jode/expr/ConvertOperator.java +++ b/jode/jode/expr/ConvertOperator.java @@ -48,7 +48,7 @@ public class ConvertOperator extends Operator { public void dumpExpression(TabbedPrintWriter writer) throws java.io.IOException { writer.print("("); - writer.printType(type); + writer.printType(type.getCanonic()); writer.print(") "); subExpressions[0].dumpExpression(writer, 700); } diff --git a/jode/jode/expr/NewArrayOperator.java b/jode/jode/expr/NewArrayOperator.java index 40b5e80..a340177 100644 --- a/jode/jode/expr/NewArrayOperator.java +++ b/jode/jode/expr/NewArrayOperator.java @@ -48,7 +48,7 @@ public class NewArrayOperator extends Operator { public void dumpExpression(TabbedPrintWriter writer) throws java.io.IOException { - Type flat = type; + Type flat = type.getCanonic(); int depth = 0; while (flat instanceof ArrayType) { flat = ((ArrayType)flat).getElementType();