You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by bu...@apache.org on 2013/08/29 21:39:15 UTC

svn commit: r1518779 - /uima/sandbox/uima-ducc/trunk/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/NodeAgent.java

Author: burn
Date: Thu Aug 29 19:39:15 2013
New Revision: 1518779

URL: http://svn.apache.org/r1518779
Log:
UIMA-3236 Check for missing executable

Modified:
    uima/sandbox/uima-ducc/trunk/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/NodeAgent.java

Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/NodeAgent.java
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/NodeAgent.java?rev=1518779&r1=1518778&r2=1518779&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/NodeAgent.java (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/NodeAgent.java Thu Aug 29 19:39:15 2013
@@ -417,8 +417,8 @@ public class NodeAgent extends AbstractD
   }
 
   private boolean invalidCommand(ICommandLine commandLine) {
-    return (commandLine == null || commandLine.getCommandLine() == null || commandLine
-            .getCommandLine().length == 0);
+    return (commandLine == null || commandLine.getExecutable() == null
+                                || commandLine.getExecutable().length() == 0);
   }
 
   private boolean isProcessDeallocated(IDuccProcess process) {