diff --git a/pom.xml b/pom.xml
index ffb9a0e..7e9ee92 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
dev.struchkov
autoresponder
- 3.4.0
+ 3.5.0
jar
Abstract Autoresponder
@@ -27,7 +27,7 @@
UTF-8
UTF-8
- 1.2.0
+ 1.4.0
5.8.2
1.7.36
diff --git a/src/main/java/dev/struchkov/autoresponder/entity/Unit.java b/src/main/java/dev/struchkov/autoresponder/entity/Unit.java
index 242897c..39d0250 100644
--- a/src/main/java/dev/struchkov/autoresponder/entity/Unit.java
+++ b/src/main/java/dev/struchkov/autoresponder/entity/Unit.java
@@ -1,7 +1,6 @@
package dev.struchkov.autoresponder.entity;
import java.util.Collection;
-import java.util.Objects;
import java.util.Set;
import java.util.function.Predicate;
import java.util.regex.Pattern;
@@ -130,27 +129,4 @@ public abstract class Unit, M extends DeliverableText> {
this.triggerCheck = triggerCheck;
}
- @Override
- public boolean equals(Object o) {
- if (this == o) return true;
- if (o == null || getClass() != o.getClass()) return false;
- Unit, ?> unit = (Unit, ?>) o;
- return Objects.equals(triggerWords, unit.triggerWords) && Objects.equals(phrases, unit.phrases) && Objects.equals(matchThreshold, unit.matchThreshold) && Objects.equals(priority, unit.priority);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(triggerWords, phrases, matchThreshold, priority);
- }
-
- @Override
- public String toString() {
- return "Unit{" +
- "keyWords=" + triggerWords +
- ", phrases='" + phrases + '\'' +
- ", matchThreshold=" + matchThreshold +
- ", priority=" + priority +
- '}';
- }
-
}