]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc/src/main/java/org/argeo/slc/diff/DiffIssue.java
Documentation
[gpl/argeo-slc.git] / org.argeo.slc / src / main / java / org / argeo / slc / diff / DiffIssue.java
1 package org.argeo.slc.diff;
2
3 /** The root class for issues which happened during a diff. */
4 public abstract class DiffIssue implements Comparable<DiffIssue> {
5 protected final DiffPosition position;
6
7 public DiffIssue(DiffPosition position) {
8 super();
9 this.position = position;
10 }
11
12 public int compareTo(DiffIssue o) {
13 return position.compareTo(o.position);
14 }
15
16 /** The position of this issue within the test file */
17 public DiffPosition getPosition() {
18 return position;
19 }
20 }