summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/convwatch
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/runner/convwatch')
-rw-r--r--qadevOOo/runner/convwatch/SimpleFileSemaphore.java2
-rw-r--r--qadevOOo/runner/convwatch/TimeHelper.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/runner/convwatch/SimpleFileSemaphore.java b/qadevOOo/runner/convwatch/SimpleFileSemaphore.java
index 02c965ceb37f..7f1864f6293b 100644
--- a/qadevOOo/runner/convwatch/SimpleFileSemaphore.java
+++ b/qadevOOo/runner/convwatch/SimpleFileSemaphore.java
@@ -33,7 +33,7 @@ public class SimpleFileSemaphore /* extends *//* implements */
// wait a second here
try
{
- java.lang.Thread.sleep(_nSeconds * 1000);
+ java.lang.Thread.sleep(1000L * _nSeconds);
}
catch (InterruptedException e2)
{
diff --git a/qadevOOo/runner/convwatch/TimeHelper.java b/qadevOOo/runner/convwatch/TimeHelper.java
index abb68b7c6abe..8d5d79252d1f 100644
--- a/qadevOOo/runner/convwatch/TimeHelper.java
+++ b/qadevOOo/runner/convwatch/TimeHelper.java
@@ -29,7 +29,7 @@ public class TimeHelper
{
GlobalLogWriter.get().println("Wait " + _nSeconds + " sec. Reason: " + _sReason);
try {
- java.lang.Thread.sleep(_nSeconds * 1000);
+ java.lang.Thread.sleep(1000L * _nSeconds);
} catch (InterruptedException e2) {}
}
}