diff --git a/IntegryManagementSystem.ipr b/IntegryManagementSystem.ipr
index 9a0bed07d6..082f5404a2 100644
--- a/IntegryManagementSystem.ipr
+++ b/IntegryManagementSystem.ipr
@@ -937,6 +937,44 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ems-engine/src/main/java/it/integry/ems/logistic/service/DistribuzioneColliService.java b/ems-engine/src/main/java/it/integry/ems/logistic/service/DistribuzioneColliService.java
index 019a62713d..d2e2265395 100644
--- a/ems-engine/src/main/java/it/integry/ems/logistic/service/DistribuzioneColliService.java
+++ b/ems-engine/src/main/java/it/integry/ems/logistic/service/DistribuzioneColliService.java
@@ -81,14 +81,14 @@ public class DistribuzioneColliService {
psRemoveOrdRifsFromMtbColrs.executeUpdate();
psRemoveOrdRifsFromMtbColrs.close();
- EntityBase[] result = entityProcessor.processEntity(sourceMtbColt, multiDBTransactionManager);
+ List result = entityProcessor.processEntity(sourceMtbColt, multiDBTransactionManager);
- if (result == null || result.length == 0)
+ if (result == null || result.isEmpty())
throw new EntityNotFoundException(String.format("Il collo numero %d del %s non esiste",
filtroDistribuzioneColloDTO.getNumCollo(),
UtilityDate.formatDate(filtroDistribuzioneColloDTO.getDataCollo(), CommonConstants.DATE_FORMAT_DMY)));
- sourceMtbColt = (MtbColt) result[0];
+ sourceMtbColt = (MtbColt) result.get(0);
//Lettura delle righe del collo in ingresso
final List> mtbColtData = new ArrayList<>();
diff --git a/ems-engine/src/main/java/it/integry/ems/product/importaz/service/ProductServices.java b/ems-engine/src/main/java/it/integry/ems/product/importaz/service/ProductServices.java
index f40867ad72..b0cf04b21b 100644
--- a/ems-engine/src/main/java/it/integry/ems/product/importaz/service/ProductServices.java
+++ b/ems-engine/src/main/java/it/integry/ems/product/importaz/service/ProductServices.java
@@ -1029,10 +1029,10 @@ public class ProductServices {
searchArtLink.setOperation(OperationType.SELECT);
searchArtLink.setNativeSql("select * from mtb_aart_link where cod_mart = " + UtilityDB.valueToString(codMart) + "and path_link = " + UtilityDB.valueToString(fileName));
- EntityBase[] artLinkResult = entityProcessor.processEntity(searchArtLink, multiDBTransactionManager);
+ List artLinkResult = entityProcessor.processEntity(searchArtLink, multiDBTransactionManager);
- if (artLinkResult == null || artLinkResult.length == 0) {
+ if (artLinkResult == null || artLinkResult.isEmpty()) {
MtbAartLink mtbAartLink = new MtbAartLink();
mtbAartLink.setCodMart(codMart);
mtbAartLink.setPathLink(fileName);