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) {