aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz/moazs/repository
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/gv/egiz/moazs/repository')
-rw-r--r--src/main/java/at/gv/egiz/moazs/repository/RedisDeliveryRepository.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main/java/at/gv/egiz/moazs/repository/RedisDeliveryRepository.java b/src/main/java/at/gv/egiz/moazs/repository/RedisDeliveryRepository.java
index 4ffe85d..27b780f 100644
--- a/src/main/java/at/gv/egiz/moazs/repository/RedisDeliveryRepository.java
+++ b/src/main/java/at/gv/egiz/moazs/repository/RedisDeliveryRepository.java
@@ -23,6 +23,7 @@ public class RedisDeliveryRepository implements DeliveryRepository {
private static final Logger logger = LoggerFactory.getLogger(RedisDeliveryRepository.class);
private static final String KEY = "MZS_DELIVERY_REQUEST";
+ private static final String NOT_IMPLEMENTED_MESSAGE = "Not Implemented Yet";
private final RedisTemplate<String, Object> redisTemplate;
private final Marshaller marshaller;
@@ -62,17 +63,17 @@ public class RedisDeliveryRepository implements DeliveryRepository {
@Override
public void add(DeliveryRequestStatusType status) {
- throw new UnsupportedOperationException("Not Implemented Yet");
+ throw new UnsupportedOperationException(NOT_IMPLEMENTED_MESSAGE);
}
@Override
public Optional<DeliveryRequestStatusType> getDeliveryRequestStatus(String appDeliveryID) {
- throw new UnsupportedOperationException("Not Implemented Yet");
+ throw new UnsupportedOperationException(NOT_IMPLEMENTED_MESSAGE);
}
@Override
public void addSignedDeliveryRequestStatus(byte[] bytes, String appDeliveryId) {
- throw new UnsupportedOperationException("Not Implemented Yet");
+ throw new UnsupportedOperationException(NOT_IMPLEMENTED_MESSAGE);
}
@Override