From 80fa8b770b0e2ef2d64017b25190b1ecd9d159f1 Mon Sep 17 00:00:00 2001 From: Francisco Esteves Date: Tue, 28 Jan 2025 10:44:50 +0000 Subject: [PATCH] Moves bundles into "bundle" directory Relates with: #qubIT-Omnis-8420 --- RELEASE_NOTES | 2 ++ .../terra/qubAccessControl/servlet/AccessControlBundle.java | 2 +- .../{resources => bundle}/AccesscontrolResources.properties | 0 .../{resources => bundle}/AccesscontrolResources_pt.properties | 0 4 files changed, 3 insertions(+), 1 deletion(-) rename src/main/resources/{resources => bundle}/AccesscontrolResources.properties (100%) rename src/main/resources/{resources => bundle}/AccesscontrolResources_pt.properties (100%) diff --git a/RELEASE_NOTES b/RELEASE_NOTES index ac706d3..826a369 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -1,3 +1,5 @@ +- Refactor: Moves bundles into "bundle" directory [#qubIT-Omnis-8420] + 2.5.0 (20-01-2025) - Refactor: Removes unused create method that does not receive a description in AccessControlProfile [#qubIT-Omnis-7974] - Refactor: Removes ObjectProviderStrategy field from AccessControlProfile entity [#qubIT-Omnis-7054] diff --git a/src/main/java/com/qubit/terra/qubAccessControl/servlet/AccessControlBundle.java b/src/main/java/com/qubit/terra/qubAccessControl/servlet/AccessControlBundle.java index 2e08c27..e7e2fdb 100644 --- a/src/main/java/com/qubit/terra/qubAccessControl/servlet/AccessControlBundle.java +++ b/src/main/java/com/qubit/terra/qubAccessControl/servlet/AccessControlBundle.java @@ -7,7 +7,7 @@ public class AccessControlBundle { - private static final String BUNDLE_NAME = "resources.AccesscontrolResources"; + private static final String BUNDLE_NAME = "bundle.AccesscontrolResources"; private static ResourceBundle bundle = ResourceBundle.getBundle(BUNDLE_NAME); public static String get(String key) { diff --git a/src/main/resources/resources/AccesscontrolResources.properties b/src/main/resources/bundle/AccesscontrolResources.properties similarity index 100% rename from src/main/resources/resources/AccesscontrolResources.properties rename to src/main/resources/bundle/AccesscontrolResources.properties diff --git a/src/main/resources/resources/AccesscontrolResources_pt.properties b/src/main/resources/bundle/AccesscontrolResources_pt.properties similarity index 100% rename from src/main/resources/resources/AccesscontrolResources_pt.properties rename to src/main/resources/bundle/AccesscontrolResources_pt.properties