You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by cw...@apache.org on 2016/12/21 14:35:29 UTC

svn commit: r1775445 - /uima/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/utils/Utils.java

Author: cwiklik
Date: Wed Dec 21 14:35:29 2016
New Revision: 1775445

URL: http://svn.apache.org/viewvc?rev=1775445&view=rev
Log:
UIMA-5213 Modified to use ducc.agent.rogue.process.sys.uid.max property 

Modified:
    uima/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/utils/Utils.java

Modified: uima/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/utils/Utils.java
URL: http://svn.apache.org/viewvc/uima/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/utils/Utils.java?rev=1775445&r1=1775444&r2=1775445&view=diff
==============================================================================
--- uima/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/utils/Utils.java (original)
+++ uima/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/utils/Utils.java Wed Dec 21 14:35:29 2016
@@ -416,16 +416,6 @@ public class Utils {
 		String tmp;
 		int uidMax=500;
 		
-	    // gidMax and uidMax mean the same thing. The ducc.agent.node.metrics.sys.gid.max is deprecated. New code should
-	    // use ducc.agent.rogue.process.sys.user.max
-	    if ((tmp = System
-				.getProperty("ducc.agent.node.metrics.sys.gid.max")) != null) {
-			if ( isNumber(tmp) ) {
-				uidMax = Integer.valueOf(tmp);  // use uidMax 
-			}
-		}
-	    
-		// in case both properties are set ...gid.max and ...user.max, the latter wins
 	    if ((tmp = System
 				.getProperty("ducc.agent.rogue.process.sys.uid.max")) != null) {
 			if ( isNumber(tmp) ) {