From 0d01e050fa6666e7aad8fa657a84ae2ec3210daa Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Thu, 7 Apr 2011 20:57:08 +0000 Subject: [PATCH] Fix broken test - Sun Java and Eclipse casting nasturtiums at each other git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090006 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/commons/lang3/reflect/TypeUtilsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/apache/commons/lang3/reflect/TypeUtilsTest.java b/src/test/java/org/apache/commons/lang3/reflect/TypeUtilsTest.java index c89bac093..0b531a2a5 100644 --- a/src/test/java/org/apache/commons/lang3/reflect/TypeUtilsTest.java +++ b/src/test/java/org/apache/commons/lang3/reflect/TypeUtilsTest.java @@ -258,7 +258,7 @@ public class TypeUtilsTest { delegateBooleanAssertion(types, 9, 8, false); list10 = list8; delegateBooleanAssertion(types, 8, 10, true); - list8 = list10; + list8 = (List[]) list10; // NOTE cast is required by Sun Jave, but not by Eclipse delegateBooleanAssertion(types, 10, 8, false); // list11 = list8; delegateBooleanAssertion(types, 8, 11, false);