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:
parent
a5423f5cd6
commit
742fbd74d8
1 changed files with 1 additions and 1 deletions
|
@ -592,7 +592,7 @@ public class SyncUtil {
|
||||||
final String prop = System.getProperty(propname);
|
final String prop = System.getProperty(propname);
|
||||||
if (prop != null) {
|
if (prop != null) {
|
||||||
try {
|
try {
|
||||||
value = Integer.valueOf(value);
|
value = Integer.valueOf(prop);
|
||||||
if (value < 0) {
|
if (value < 0) {
|
||||||
TestsPlugin.log(new Status(IStatus.ERROR, TestsPlugin.getUniqueIdentifier(), "\"" + propname //$NON-NLS-1$
|
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."));
|
+ "\" property incorrectly specified. Should be an integer value or not specified at all."));
|
||||||
|
|
Loading…
Add table
Reference in a new issue