]>
git.argeo.org Git - gpl/argeo-slc.git/blob - legacy/org.argeo.slc.support/src/org/argeo/slc/diff/DiffIssue.java
b390d68c936d84616c63c533fe40aa1b879db5b5
1 package org
.argeo
.slc
.diff
;
3 /** The root class for issues which happened during a diff. */
4 public abstract class DiffIssue
implements Comparable
<DiffIssue
> {
5 /** The position of this issue. */
6 // Was final and is not anymore in order to persist in hibernate
7 protected DiffPosition position
;
13 public DiffIssue(DiffPosition position
) {
15 this.position
= position
;
18 public int compareTo(DiffIssue o
) {
19 return position
.compareTo(o
.position
);
22 /** The position of this issue within the test file */
23 public DiffPosition
getPosition() {
28 @SuppressWarnings("unused")
29 private void setId(long id
) {
33 @SuppressWarnings("unused")
34 private long getId() {
38 @SuppressWarnings("unused")
39 private void setPosition(DiffPosition position
) {
40 this.position
= position
;