+++ /dev/null
-package org.argeo.slc.diff;\r
-\r
-/** Intermediate class that can hold the key to be displayed. */\r
-public abstract class DiffIssueKey extends DiffIssue {\r
- /** The position of this issue. */\r
- protected DiffKey key;\r
-\r
- /** Constructor without key */\r
- public DiffIssueKey(DiffPosition position) {\r
- super(position);\r
- }\r
-\r
- /** Constructor with key */\r
- public DiffIssueKey(DiffPosition position, DiffKey key) {\r
- super(position);\r
- this.key = key;\r
- }\r
-\r
- public Object getKey() {\r
- return key;\r
- }\r
-\r
- @Override\r
- public String toString() {\r
- if (key != null) {\r
- return key.toString();\r
- } else {\r
- return "";\r
- }\r
- }\r
-}\r