From 116950b463eda356f1ab60c7db6d65f75fd27d48 Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Sun, 2 Apr 2023 14:38:34 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B8=D0=BB=20=D0=BB?= =?UTF-8?q?=D0=B8=D1=88=D0=BD=D0=B8=D0=B9=20=D0=BC=D0=B5=D1=82=D0=BE=D0=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../godfather/quarkus/context/service/SendingService.java | 4 ---- .../godfather/simple/context/service/SendingService.java | 6 ------ 2 files changed, 10 deletions(-) diff --git a/bot-context/bot-context-quarkus/src/main/java/dev/struchkov/godfather/quarkus/context/service/SendingService.java b/bot-context/bot-context-quarkus/src/main/java/dev/struchkov/godfather/quarkus/context/service/SendingService.java index 446a442..db45b87 100644 --- a/bot-context/bot-context-quarkus/src/main/java/dev/struchkov/godfather/quarkus/context/service/SendingService.java +++ b/bot-context/bot-context-quarkus/src/main/java/dev/struchkov/godfather/quarkus/context/service/SendingService.java @@ -1,7 +1,5 @@ package dev.struchkov.godfather.quarkus.context.service; -import dev.struchkov.godfather.quarkus.domain.BoxAnswer; -import dev.struchkov.godfather.quarkus.domain.SentBox; import dev.struchkov.godfather.quarkus.domain.action.PreSendProcessing; import io.smallrye.mutiny.Uni; import org.jetbrains.annotations.NotNull; @@ -17,6 +15,4 @@ public interface SendingService extends Sending { Uni deleteMessage(@NotNull String personId, @NotNull String messageId); - Uni replaceMessage(@NotNull String personId, @NotNull String messageId, @NotNull BoxAnswer newAnswer); - } diff --git a/bot-context/bot-context-simple/src/main/java/dev/struchkov/godfather/simple/context/service/SendingService.java b/bot-context/bot-context-simple/src/main/java/dev/struchkov/godfather/simple/context/service/SendingService.java index e0e1cda..fa9aea6 100644 --- a/bot-context/bot-context-simple/src/main/java/dev/struchkov/godfather/simple/context/service/SendingService.java +++ b/bot-context/bot-context-simple/src/main/java/dev/struchkov/godfather/simple/context/service/SendingService.java @@ -1,12 +1,8 @@ package dev.struchkov.godfather.simple.context.service; -import dev.struchkov.godfather.simple.domain.BoxAnswer; -import dev.struchkov.godfather.simple.domain.SentBox; import dev.struchkov.godfather.simple.domain.action.PreSendProcessing; import org.jetbrains.annotations.NotNull; -import java.util.Optional; - /** * Интерфейс для отправки ответов пользователю. * @@ -18,6 +14,4 @@ public interface SendingService extends Sending { void deleteMessage(@NotNull String personId, @NotNull String messageId); - Optional replaceMessage(@NotNull String personId, @NotNull String messageId, @NotNull BoxAnswer newAnswer); - }