From c57477cff62eb9424fb0d69faef220c9ff339547 Mon Sep 17 00:00:00 2001 From: Matthias Fischer Date: Mon, 29 Jul 2024 20:48:01 +0200 Subject: [PATCH] chore(quality): [#841] reorder constants based on visibility --- .../java/org/eclipse/tractusx/irs/component/Tombstone.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/irs-models/src/main/java/org/eclipse/tractusx/irs/component/Tombstone.java b/irs-models/src/main/java/org/eclipse/tractusx/irs/component/Tombstone.java index 52c2c90a0..45549f529 100644 --- a/irs-models/src/main/java/org/eclipse/tractusx/irs/component/Tombstone.java +++ b/irs-models/src/main/java/org/eclipse/tractusx/irs/component/Tombstone.java @@ -45,9 +45,11 @@ @Jacksonized @Schema(description = "Tombstone with information about request failure") public class Tombstone { - private static final NodeType NODE_TYPE = NodeType.TOMBSTONE; + public static final int CATENA_X_ID_LENGTH = 45; + private static final NodeType NODE_TYPE = NodeType.TOMBSTONE; + @Schema(description = "CATENA-X global asset id in the format urn:uuid:uuid4.", example = "urn:uuid:6c311d29-5753-46d4-b32c-19b918ea93b0", minLength = CATENA_X_ID_LENGTH, maxLength = CATENA_X_ID_LENGTH,