From 5ec104b8c872f22ef051ee8f21b4d56b10e6cbc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Silva?= Date: Mon, 25 Jan 2021 17:14:17 +0000 Subject: [PATCH] Fix get method in FailureLocation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: André Silva --- .../repairnator/process/step/repair/AbstractNPERepairStep.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/repairnator-pipeline/src/main/java/fr/inria/spirals/repairnator/process/step/repair/AbstractNPERepairStep.java b/src/repairnator-pipeline/src/main/java/fr/inria/spirals/repairnator/process/step/repair/AbstractNPERepairStep.java index 7832b3623..e2bc11818 100644 --- a/src/repairnator-pipeline/src/main/java/fr/inria/spirals/repairnator/process/step/repair/AbstractNPERepairStep.java +++ b/src/repairnator-pipeline/src/main/java/fr/inria/spirals/repairnator/process/step/repair/AbstractNPERepairStep.java @@ -175,7 +175,7 @@ private List getNPETests() { // Iterate over failure locations for (FailureLocation failureLocation : this.getInspector().getJobStatus().getFailureLocations()) { // NPEEs are errors - Map> failingMethodsAndFailures = failureLocation.getFailingMethodsAndFailures(); + Map> failingMethodsAndFailures = failureLocation.getErroringMethodsAndFailures(); // Check if test method has an NPE for (String method : failingMethodsAndFailures.keySet()) {