From 6bfacc12e43889b3ef3f6e670727782c4c8dfa79 Mon Sep 17 00:00:00 2001 From: Mark Struchkov Date: Mon, 21 Jan 2019 10:16:30 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=B6=D0=B5=D0=BD=D0=B5=D1=80=D0=B8?= =?UTF-8?q?=D0=BA=20=D0=B2=20=D0=B8=D0=BD=D1=82=D0=B5=D1=80=D1=84=D0=B5?= =?UTF-8?q?=D0=B9=D1=81=20=D1=80=D0=B5=D0=BF=D0=BE=D0=B7=D0=B8=D1=82=D0=BE?= =?UTF-8?q?=D1=80=D0=B8=D0=B5=D0=B2=20=D1=8E=D0=BD=D0=B8=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- .../autoresponder/repository/UnitRepository.java | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) 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(); }