From 16ca4464aa0a739d041597aa685bd0abb5f5a6d9 Mon Sep 17 00:00:00 2001 From: Tom Brunet Date: Mon, 28 Oct 2024 15:12:24 -0500 Subject: [PATCH] Wrong variable used in diff --- .../java/com/ibm/able/equalaccess/report/BaselineManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-accessibility-checker/src/main/java/com/ibm/able/equalaccess/report/BaselineManager.java b/java-accessibility-checker/src/main/java/com/ibm/able/equalaccess/report/BaselineManager.java index 0ea851961..b45010d3e 100644 --- a/java-accessibility-checker/src/main/java/com/ibm/able/equalaccess/report/BaselineManager.java +++ b/java-accessibility-checker/src/main/java/com/ibm/able/equalaccess/report/BaselineManager.java @@ -270,7 +270,7 @@ private static DiffResult[] diff(ACReport actual, ACReport expected) { retVal.add(new DiffResult("A", idx, null, gson.toJson(expectedRs[idx]))); } for (int idx=expectedRs.length; idx < actualRs.length; ++idx) { - retVal.add(new DiffResult("A", idx, gson.toJson(expectedRs[idx]), null)); + retVal.add(new DiffResult("A", idx, gson.toJson(actualRs[idx]), null)); } for (int idx=0; idx