diff --git a/java/src/processing/mode/java/pdex/SourceMapping.java b/java/src/processing/mode/java/pdex/SourceMapping.java index 82443e427..a33b5e62d 100644 --- a/java/src/processing/mode/java/pdex/SourceMapping.java +++ b/java/src/processing/mode/java/pdex/SourceMapping.java @@ -29,27 +29,6 @@ public class SourceMapping { } }; - private static final Comparator INPUT_OFFSET_COMP_LEX = new Comparator() { - @Override - public int compare(Edit o1, Edit o2) { - int off = Integer.compare(o1.fromOffset, o2.fromOffset); - return (off != 0) - ? off - : Integer.compare(o1.fromLength, o2.fromLength); - } - }; - - private static final Comparator OUTPUT_OFFSET_COMP_LEX = new Comparator() { - @Override - public int compare(Edit o1, Edit o2) { - int off = Integer.compare(o1.toOffset, o2.toOffset); - return (off != 0) - ? off - : Integer.compare(o1.toLength, o2.toLength); - } - }; - - private boolean applied; private List edits = new ArrayList<>();