From db0595ac7ebe75aec16480e7001c3e54dadec024 Mon Sep 17 00:00:00 2001 From: Claudio Barril Date: Sat, 8 Mar 2014 16:24:34 -0300 Subject: [PATCH] remove unused exception and class --- ...lMindmapRelationshipNotFoundException.java | 20 -------- .../com/wisemapping/model/LabelMindmap.java | 50 ------------------- 2 files changed, 70 deletions(-) delete mode 100644 wise-webapp/src/main/java/com/wisemapping/exceptions/LabelMindmapRelationshipNotFoundException.java delete mode 100644 wise-webapp/src/main/java/com/wisemapping/model/LabelMindmap.java diff --git a/wise-webapp/src/main/java/com/wisemapping/exceptions/LabelMindmapRelationshipNotFoundException.java b/wise-webapp/src/main/java/com/wisemapping/exceptions/LabelMindmapRelationshipNotFoundException.java deleted file mode 100644 index 5201296b..00000000 --- a/wise-webapp/src/main/java/com/wisemapping/exceptions/LabelMindmapRelationshipNotFoundException.java +++ /dev/null @@ -1,20 +0,0 @@ -package com.wisemapping.exceptions; - -import org.jetbrains.annotations.NotNull; - -public class LabelMindmapRelationshipNotFoundException extends ClientException { - - private static final String MSG_KEY = "LABEL_MINDMAP_RELATION_NOT_BE_FOUND"; - - public LabelMindmapRelationshipNotFoundException(@NotNull String msg) - { - super(msg,Severity.WARNING); - } - - @NotNull - @Override - protected String getMsgBundleKey() { - return MSG_KEY; - } - -} diff --git a/wise-webapp/src/main/java/com/wisemapping/model/LabelMindmap.java b/wise-webapp/src/main/java/com/wisemapping/model/LabelMindmap.java deleted file mode 100644 index b5ec5eae..00000000 --- a/wise-webapp/src/main/java/com/wisemapping/model/LabelMindmap.java +++ /dev/null @@ -1,50 +0,0 @@ -package com.wisemapping.model; - -import java.io.Serializable; - -public class LabelMindmap implements Serializable{ - - private int mindmapId; - private int labelId; - - public LabelMindmap(int labelId, int mindmapId) { - this.mindmapId = mindmapId; - this.labelId = labelId; - } - - public LabelMindmap() {} - - public int getMindmapId() { - return mindmapId; - } - - public void setMindmapId(int mindmapId) { - this.mindmapId = mindmapId; - } - - public int getLabelId() { - return labelId; - } - - public void setLabelId(int labelId) { - this.labelId = labelId; - } - - @Override - public boolean equals(Object o) { - if (this == o) return true; - if (!(o instanceof LabelMindmap)) return false; - - LabelMindmap that = (LabelMindmap) o; - - return labelId == that.labelId && mindmapId == that.mindmapId; - - } - - @Override - public int hashCode() { - int result = mindmapId; - result = 31 * result + labelId; - return result; - } -}