From 4601a52a31db2cc1f01738af1aea889360eccff5 Mon Sep 17 00:00:00 2001 From: jochen Date: Thu, 6 May 1999 12:09:00 +0000 Subject: [PATCH] ooops, last change was wrong git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@793 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/type/ArrayType.java | 2 -- jode/jode/type/ClassInterfacesType.java | 2 -- 2 files changed, 4 deletions(-) diff --git a/jode/jode/type/ArrayType.java b/jode/jode/type/ArrayType.java index 221a20b..42a51cc 100644 --- a/jode/jode/type/ArrayType.java +++ b/jode/jode/type/ArrayType.java @@ -175,8 +175,6 @@ public class ArrayType extends ReferenceType { * @return the middle type, or null if it is not necessary. */ public Type getCastHelper(Type fromType) { - if (fromType.getTypeCode() == TC_NULL) - return this; Type hintType = fromType.getHint(); switch (hintType.getTypeCode()) { case TC_ARRAY: diff --git a/jode/jode/type/ClassInterfacesType.java b/jode/jode/type/ClassInterfacesType.java index 8e08c3c..0261ae7 100644 --- a/jode/jode/type/ClassInterfacesType.java +++ b/jode/jode/type/ClassInterfacesType.java @@ -435,8 +435,6 @@ public class ClassInterfacesType extends ReferenceType { * @return the middle type, or null if it is not necessary. */ public Type getCastHelper(Type fromType) { - if (fromType.getTypeCode() == TC_NULL) - return this; Type hintType = fromType.getHint(); switch (hintType.getTypeCode()) { case TC_ARRAY: