Author: challngr Date: Mon May 20 17:37:53 2013 New Revision: 1484538 URL: http://svn.apache.org/r1484538 Log: UIMA-2919 Get 'true' and 'false' right for autostart of ping-only service!
Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-sm/src/main/java/org/apache/uima/ducc/sm/ServiceSet.java Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-sm/src/main/java/org/apache/uima/ducc/sm/ServiceSet.java URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-sm/src/main/java/org/apache/uima/ducc/sm/ServiceSet.java?rev=1484538&r1=1484537&r2=1484538&view=diff ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-sm/src/main/java/org/apache/uima/ducc/sm/ServiceSet.java (original) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-sm/src/main/java/org/apache/uima/ducc/sm/ServiceSet.java Mon May 20 17:37:53 2013 @@ -279,9 +279,9 @@ public class ServiceSet meta_props.put("service-statistics", "N/A"); if ( isStartable() ) { - meta_props.put("ping-only", "true"); - } else { meta_props.put("ping-only", "false"); + } else { + meta_props.put("ping-only", "true"); } // caller will save the meta props, **if** the rest of registration is ok.