Skip to content

Commit

Permalink
Updated BaseValidator method processAssertionResult to avoid out of m…
Browse files Browse the repository at this point in the history
…emory exception.
  • Loading branch information
RomaPrograms committed Feb 14, 2020
1 parent 9e3ebb3 commit 8b24d1b
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import javax.xml.parsers.ParserConfigurationException;
import java.io.IOException;
import java.net.URISyntaxException;
import java.util.List;
import java.util.Set;

/**
Expand Down Expand Up @@ -69,7 +70,7 @@ private ProcessedObjectsInspector() {
* @throws SAXException
*/
public static ValidationStatus validationStatus(
Set<TestAssertion> assertions, ValidationProfile profile)
List<TestAssertion> assertions, ValidationProfile profile)
throws URISyntaxException, IOException,
ParserConfigurationException, SAXException {
ProcessedObjectsParser parser = XMLProcessedObjectsParser.getInstance();
Expand All @@ -93,7 +94,7 @@ public static ValidationStatus validationStatus(
* @throws SAXException
*/
public static ValidationStatus validationStatus(
Set<TestAssertion> assertions, ValidationProfile profile,
List<TestAssertion> assertions, ValidationProfile profile,
ProcessedObjectsParser parser) throws IOException,
URISyntaxException, ParserConfigurationException, SAXException {
return validationStatus(assertions, profile,
Expand All @@ -116,7 +117,7 @@ public static ValidationStatus validationStatus(
* @throws SAXException
*/
public static ValidationStatus validationStatus(
Set<TestAssertion> assertions, ValidationProfile profile,
List<TestAssertion> assertions, ValidationProfile profile,
ProcessedObjects objects) {
ValidationStatus status = ValidationStatus.VALID;

Expand Down

0 comments on commit 8b24d1b

Please sign in to comment.