From 636c4901c060d372d098b54cbb9601a646d0e97d Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Thu, 27 Aug 2009 10:30:47 +0000 Subject: [PATCH] More autoboxing madness. --- .../springframework/oxm/castor/CastorUnmarshallerTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.springframework.oxm/src/test/java/org/springframework/oxm/castor/CastorUnmarshallerTests.java b/org.springframework.oxm/src/test/java/org/springframework/oxm/castor/CastorUnmarshallerTests.java index 4e3e8c983b..33bb1a4071 100644 --- a/org.springframework.oxm/src/test/java/org/springframework/oxm/castor/CastorUnmarshallerTests.java +++ b/org.springframework.oxm/src/test/java/org/springframework/oxm/castor/CastorUnmarshallerTests.java @@ -83,10 +83,10 @@ public class CastorUnmarshallerTests extends AbstractUnmarshallerTests { assertEquals("Invalid amount of items", 2, order.getOrderItemCount()); OrderItem item = order.getOrderItem(0); assertEquals("Invalid items", "1", item.getId()); - assertEquals("Invalid items", new Integer(15), item.getQuantity()); + assertEquals("Invalid items", 15, (int)item.getQuantity()); item = order.getOrderItem(1); assertEquals("Invalid items", "3", item.getId()); - assertEquals("Invalid items", new Integer(20), item.getQuantity()); + assertEquals("Invalid items", 20, (int)item.getQuantity()); }