diff --git a/pom.xml b/pom.xml index 95f7fe5..9338003 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.sadtech.autoresponder core - 1.1.1-RELEASE + 1.1.2-SNAPHOT diff --git a/src/main/java/org/sadtech/autoresponder/repository/UnitRepository.java b/src/main/java/org/sadtech/autoresponder/repository/UnitRepository.java index d069a1e..2c946bc 100644 --- a/src/main/java/org/sadtech/autoresponder/repository/UnitRepository.java +++ b/src/main/java/org/sadtech/autoresponder/repository/UnitRepository.java @@ -5,14 +5,12 @@ import org.sadtech.autoresponder.entity.Unit; import java.util.Collection; import java.util.List; -public interface UnitRepository { +public interface UnitRepository { - void addUnit(Unit unit); + void addUnit(T unit); - void addUnits(Collection units); + void addUnits(Collection units); - void removeUnit(Unit idUnit); - - List menuUnits(); + List menuUnits(); }