Skip to content

Commit ace47d2

Browse files
authored
Merge branch 'develop' into snapshot_version
2 parents dd9927b + d506014 commit ace47d2

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

boomerangScope-Opal/src/main/scala/boomerang/scope/opal/tac/OpalVal.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,5 +169,5 @@ class OpalVal(
169169
case _ => false
170170
}
171171

172-
override def toString: String = getVariableName
172+
override def toString: String = s"$getVariableName + ${if (isUnbalanced) " unbalanced " + unbalancedStmt}"
173173
}

boomerangScope-Soot/src/main/java/boomerang/scope/soot/jimple/JimpleVal.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,6 @@ public int hashCode() {
267267

268268
@Override
269269
public String toString() {
270-
return delegate.toString()
271-
+ " ("
272-
+ m
273-
+ ")"
274-
+ (isUnbalanced() ? " unbalanced " + unbalancedStmt : "");
270+
return delegate.toString() + (isUnbalanced() ? " unbalanced " + unbalancedStmt : "");
275271
}
276272
}

idealPDS/src/main/java/typestate/TransitionFunction.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,4 @@ public interface TransitionFunction extends Weight {
2525
@NonNull Collection<Transition> getValues();
2626

2727
@NonNull Set<ControlFlowGraph.Edge> getStateChangeStatements();
28-
29-
@NonNull Weight extendWith(@NonNull Weight other);
30-
31-
@NonNull Weight combineWith(@NonNull Weight other);
3228
}

0 commit comments

Comments
 (0)