From ce62ba7eaa3253b0e4e7f911e981ec81bdea824d Mon Sep 17 00:00:00 2001 From: Barbosa Date: Wed, 6 Oct 2021 17:17:33 -0300 Subject: [PATCH] fix(#31): pr adjuts --- src/main/java/br/unb/cic/analysis/model/Conflict.java | 1 + src/main/java/br/unb/cic/analysis/model/TraversedLine.java | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/br/unb/cic/analysis/model/Conflict.java b/src/main/java/br/unb/cic/analysis/model/Conflict.java index 36e2fdf4..fcedbbcf 100644 --- a/src/main/java/br/unb/cic/analysis/model/Conflict.java +++ b/src/main/java/br/unb/cic/analysis/model/Conflict.java @@ -20,6 +20,7 @@ public class Conflict { protected String sinkMethodName; protected Integer sinkLineNumber; protected Unit sinkUnit; + // used when using stack trace of the conflict. protected List sinkTraversedLine; diff --git a/src/main/java/br/unb/cic/analysis/model/TraversedLine.java b/src/main/java/br/unb/cic/analysis/model/TraversedLine.java index 9088dc0f..d86d54b6 100644 --- a/src/main/java/br/unb/cic/analysis/model/TraversedLine.java +++ b/src/main/java/br/unb/cic/analysis/model/TraversedLine.java @@ -4,9 +4,9 @@ import soot.SootMethod; public class TraversedLine { - protected SootClass sootClass; - protected SootMethod sootMethod; - protected Integer lineNumber; + private SootClass sootClass; + private SootMethod sootMethod; + private Integer lineNumber; public TraversedLine(SootClass sootClass, SootMethod sootMethod, Integer lineNumber) { this.sootClass = sootClass;