Author: degenaro Date: Mon Aug 3 15:22:28 2015 New Revision: 1693916 URL: http://svn.apache.org/r1693916 Log: UIMA-4540 DUCC Orchestrator (OR) should copy inventory provided UimaPipelineComponents list even if it is empty
Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/ProcessAccounting.java Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/ProcessAccounting.java URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/ProcessAccounting.java?rev=1693916&r1=1693915&r2=1693916&view=diff ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/ProcessAccounting.java (original) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/ProcessAccounting.java Mon Aug 3 15:22:28 2015 @@ -507,9 +507,7 @@ public class ProcessAccounting { logger.trace(methodName, job.getDuccId(), messages.fetch("enter")); List<IUimaPipelineAEComponent> list = inventoryProcess.getUimaPipelineComponents(); if(list != null) { - if(!list.isEmpty()) { - process.setUimaPipelineComponents(list); - } + process.setUimaPipelineComponents(list); } logger.trace(methodName, job.getDuccId(), messages.fetch("exit")); }