Skip to content

Commit

Permalink
refactor/simplify zipper
Browse files Browse the repository at this point in the history
  • Loading branch information
QilinPTA committed Jun 7, 2024
1 parent bbcfd3c commit 37bc455
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions qilin.pta/src/qilin/pta/toolkits/zipper/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import qilin.util.Stopwatch;
import soot.SootMethod;

import java.util.Comparator;
import java.util.Set;

public class Main {
Expand All @@ -49,11 +48,6 @@ public static void run(PTA pta, Set<SootMethod> zipperPCMOutput) {

System.out.println("Writing Zipper precision-critical methods ...\n");
System.out.println();
writeZipperResults(pcm, zipperPCMOutput);
zipperPCMOutput.addAll(pcm);
}

private static void writeZipperResults(final Set<SootMethod> results, final Set<SootMethod> outputSet) {
results.stream().sorted(Comparator.comparing(Object::toString)).forEach(outputSet::add);
}

}

0 comments on commit 37bc455

Please sign in to comment.