1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 568796: Fix support of configurable timeouts in ETimeout.get

Signed-off-by: Abdullah Khalid <abdullah.dev0@gmail.com>
Change-Id: Id031fd752cbb4689fe2d667939282a3b202328c1
This commit is contained in:
Abdullah Khalid 2020-11-13 20:17:18 +05:00
parent a5423f5cd6
commit 742fbd74d8

View file

@ -592,7 +592,7 @@ public class SyncUtil {
final String prop = System.getProperty(propname);
if (prop != null) {
try {
value = Integer.valueOf(value);
value = Integer.valueOf(prop);
if (value < 0) {
TestsPlugin.log(new Status(IStatus.ERROR, TestsPlugin.getUniqueIdentifier(), "\"" + propname //$NON-NLS-1$
+ "\" property incorrectly specified. Should be an integer value or not specified at all."));