From f0152dff9024e45598c874629a5122c771b3a7e9 Mon Sep 17 00:00:00 2001 From: Andreas Fankhauser <23085769+hiddenalpha@users.noreply.github.com> Date: Tue, 21 May 2024 20:02:56 +0200 Subject: [PATCH] Drop now unused methods Related: SDCISA-15833, https://github.com/swisspost/vertx-redisques/issues/170, https://github.com/swisspost/vertx-redisques/pull/177, https://github.com/swisspost/vertx-rest-storage/pull/186, https://github.com/swisspost/gateleen/pull/577 --- .../exception/ThriftyRedisQuesExceptionFactory.java | 5 ----- .../exception/WastefulRedisQuesExceptionFactory.java | 5 ----- 2 files changed, 10 deletions(-) diff --git a/src/main/java/org/swisspush/redisques/exception/ThriftyRedisQuesExceptionFactory.java b/src/main/java/org/swisspush/redisques/exception/ThriftyRedisQuesExceptionFactory.java index 5c66d58..d798553 100644 --- a/src/main/java/org/swisspush/redisques/exception/ThriftyRedisQuesExceptionFactory.java +++ b/src/main/java/org/swisspush/redisques/exception/ThriftyRedisQuesExceptionFactory.java @@ -24,9 +24,4 @@ public RuntimeException newRuntimeException(String message, Throwable cause) { return new NoStacktraceException(message, cause); } - @Override - public ReplyException newReplyException(ReplyFailure failureType, int failureCode, String message) { - return new NoStackReplyException(failureType, failureCode, message); - } - } diff --git a/src/main/java/org/swisspush/redisques/exception/WastefulRedisQuesExceptionFactory.java b/src/main/java/org/swisspush/redisques/exception/WastefulRedisQuesExceptionFactory.java index ffd0dbe..f53c6c6 100644 --- a/src/main/java/org/swisspush/redisques/exception/WastefulRedisQuesExceptionFactory.java +++ b/src/main/java/org/swisspush/redisques/exception/WastefulRedisQuesExceptionFactory.java @@ -25,9 +25,4 @@ public RuntimeException newRuntimeException(String message, Throwable cause) { return new RuntimeException(message, cause); } - @Override - public ReplyException newReplyException(ReplyFailure failureType, int failureCode, String message) { - return new ReplyException(failureType, failureCode, message); - } - }