Commits

wesw  committed d5393a6

small compiler error

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@1971e221344d-f017-0410-9bd5-d282ab1896d7

  • Participants
  • Parent commits 7d56927

Comments (0)

Files changed (1)

File src/test/com/opensymphony/xwork2/config/providers/XmlConfigurationProviderTest.java

         prov.setObjectFactory(container.getInstance(ObjectFactory.class));
         prov.init(configuration);
         List<Document> docs = prov.getDocuments();
-        assertEquals(3, docs.size());
+        assertEquals(3, docs.size() );
 
-        assertEquals(1, XmlHelper.getLoadOrder(docs.get(0)));
-        assertEquals(2, XmlHelper.getLoadOrder(docs.get(1)));
-        assertEquals(3, XmlHelper.getLoadOrder(docs.get(2)));
+        assertEquals(1, XmlHelper.getLoadOrder(docs.get(0)).intValue());
+        assertEquals(2, XmlHelper.getLoadOrder(docs.get(1)).intValue());
+        assertEquals(3, XmlHelper.getLoadOrder(docs.get(2)).intValue());
     }
 
     public void testNeedsReload() throws Exception {