X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=cms%2Forg.argeo.slc.support%2Fsrc%2Forg%2Fargeo%2Fslc%2Fdiff%2FDiffMissingXml.java;fp=cms%2Forg.argeo.slc.support%2Fsrc%2Forg%2Fargeo%2Fslc%2Fdiff%2FDiffMissingXml.java;h=0000000000000000000000000000000000000000;hb=6fc94d69efe089414ac9e63bde3efab1cbf7b7ca;hp=c18223788e18d5b7a3887b4fcdf0322b2f998de3;hpb=b36c62642bd0db11b3133b369cc026fd4b7a1ec6;p=gpl%2Fargeo-slc.git
diff --git a/cms/org.argeo.slc.support/src/org/argeo/slc/diff/DiffMissingXml.java b/cms/org.argeo.slc.support/src/org/argeo/slc/diff/DiffMissingXml.java
deleted file mode 100644
index c18223788..000000000
--- a/cms/org.argeo.slc.support/src/org/argeo/slc/diff/DiffMissingXml.java
+++ /dev/null
@@ -1,43 +0,0 @@
-package org.argeo.slc.diff;
-
-/**
- * DiffMissing
using the XPath of the position as
- * DiffKey
- */
-public class DiffMissingXml extends DiffMissing {
-
- public DiffMissingXml(XPathDiffPosition position) {
- super(position, new DiffKeyXml(position.getXPath()));
- }
-
- /** Implementation of DiffKey
based on an XPath string. */
- protected static class DiffKeyXml implements DiffKey {
- private final String xPath;
-
- public DiffKeyXml(String xPath) {
- this.xPath = xPath;
- }
-
- public String getXPath() {
- return xPath;
- }
-
- @Override
- public String toString() {
- return xPath;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (!(obj instanceof DiffKeyXml))
- return false;
- return xPath.equals(((DiffKeyXml) obj).xPath);
- }
-
- @Override
- public int hashCode() {
- return xPath.hashCode();
- }
-
- }
-}