Browse Source

More autoboxing madness.

pull/23217/head
Arjen Poutsma 17 years ago
parent
commit
636c4901c0
  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