Browse Source

More autoboxing madness.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1778 50f2f4bb-b051-0410-bef5-90022cba6387
pull/1/head
Arjen Poutsma 17 years ago
parent
commit
2577b03d2e
  1. 4
      org.springframework.oxm/src/test/java/org/springframework/oxm/castor/CastorUnmarshallerTests.java

4
org.springframework.oxm/src/test/java/org/springframework/oxm/castor/CastorUnmarshallerTests.java

@ -83,10 +83,10 @@ public class CastorUnmarshallerTests extends AbstractUnmarshallerTests { @@ -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());
}

Loading…
Cancel
Save