From e0d00a8bf9f4b6951daaebfc406a7f0fd9ea593f Mon Sep 17 00:00:00 2001 From: Giselle van Dongen Date: Fri, 12 Jan 2024 10:37:47 +0100 Subject: [PATCH] Update java/food-ordering/app/restate-app/src/main/java/dev/restate/sdk/examples/DeliveryManager.java Co-authored-by: Francesco Guardiani --- .../src/main/java/dev/restate/sdk/examples/DeliveryManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/food-ordering/app/restate-app/src/main/java/dev/restate/sdk/examples/DeliveryManager.java b/java/food-ordering/app/restate-app/src/main/java/dev/restate/sdk/examples/DeliveryManager.java index eeed3df8..00c1c5cf 100644 --- a/java/food-ordering/app/restate-app/src/main/java/dev/restate/sdk/examples/DeliveryManager.java +++ b/java/food-ordering/app/restate-app/src/main/java/dev/restate/sdk/examples/DeliveryManager.java @@ -25,7 +25,7 @@ public class DeliveryManager extends DeliveryManagerRestate.DeliveryManagerRestateImplBase { // State key to store all relevant information about the delivery. - StateKey DELIVERY_INFO = + private static final StateKey DELIVERY_INFO = StateKey.of("delivery-info", JacksonSerdes.of(DeliveryInformation.class)); private static final Serde locationSerde = JacksonSerdes.of(Location.class);