]>
git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.support.simple/src/main/java/org/argeo/slc/diff/DiffMissing.java
fe2ab106f9a49caed4609e9c9c7085b267ff0638
1 package org
.argeo
.slc
.diff
;
4 * A value missing in one of the file. If its position is related to expected,
5 * this means it is a left over in the reached, if its position is related to
6 * the reached it means that it is missing from the reached. If the value is
7 * null it means that the entire line is missing.
9 public class DiffMissing
extends DiffIssueKey
{
11 public DiffMissing(DiffPosition position
, DiffKey key
) {
17 public String
toString() {
18 if (position
.relatedFile
== RelatedFile
.EXPECTED
) {
19 return position
+ ": left over " + super.toString();
20 } else if (position
.relatedFile
== RelatedFile
.REACHED
) {
21 return position
+ ": missing " + super.toString();
23 return super.toString();