From 540526874b74c55f20caae37a8466fe5f292cd18 Mon Sep 17 00:00:00 2001 From: Marco Mancini Date: Tue, 19 Nov 2024 17:42:46 +0100 Subject: [PATCH] fix breck --- .../src/it/mwg/sismica/bo/shared/util/AvvisoUtil.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/liferay-plugins-sdk-6.2/shared/portos-bo-shared/src/it/mwg/sismica/bo/shared/util/AvvisoUtil.java b/liferay-plugins-sdk-6.2/shared/portos-bo-shared/src/it/mwg/sismica/bo/shared/util/AvvisoUtil.java index 91973740..b77fc840 100644 --- a/liferay-plugins-sdk-6.2/shared/portos-bo-shared/src/it/mwg/sismica/bo/shared/util/AvvisoUtil.java +++ b/liferay-plugins-sdk-6.2/shared/portos-bo-shared/src/it/mwg/sismica/bo/shared/util/AvvisoUtil.java @@ -170,6 +170,11 @@ public class AvvisoUtil { return ALL_TIPO_DOCUMENTO_FILE_TEMPLATE_PROPS; } + + public static void main(String[] args) { + + System.out.println(getFileTemplateProp("AU", "Q3")); + } public static String getFileTemplateProp(String statoPratica, String tipoProcedura) { String label = statoPratica; @@ -186,9 +191,8 @@ public class AvvisoUtil { case StatoPraticaConstants.NON_CONFORME: label = "VIARCH2"; break; - - default: break; } + break; case Constants.PROCEDURA_P10: case Constants.PROCEDURA_Q10: switch (statoPratica) { @@ -196,8 +200,8 @@ public class AvvisoUtil { case StatoPraticaConstants.CONFORME: label = StatoPraticaConstants.VINCOLI; break; - default: break; } + break; case Constants.PROCEDURA_Q4H: // FIXME: Differenziare tra i 2 avvisi switch (statoPratica) {