Skip to content

Commit 58de07f

Browse files
committed
Fixed: Cast parse result to int in EntityXmlAssertTest
(cherry picked from commit 81f802f)
1 parent 02f4b45 commit 58de07f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

framework/testtools/src/main/java/org/apache/ofbiz/testtools/EntityXmlAssertTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public int countTestCases() {
5858
try {
5959
URL entityXmlURL = FlexibleLocation.resolveLocation(entityXmlUrlString);
6060
EntitySaxReader reader = new EntitySaxReader(getDelegator());
61-
testCaseCount += reader.parse(entityXmlURL);
61+
testCaseCount += (int) reader.parse(entityXmlURL);
6262
} catch (Exception e) {
6363
Debug.logError(e, "Error getting test case count", MODULE);
6464
}

0 commit comments

Comments
 (0)