diff options
author | Noel Grandin <noel@peralex.com> | 2012-06-18 18:37:06 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-06-20 10:26:52 +0200 |
commit | 2554f08f6544c54e45a5fc660d65d50ef3f29aed (patch) | |
tree | ecd9bc25e060277a6875e9dac85d9a5d6d3de3aa /qadevOOo/runner/complexlib/MethodThread.java | |
parent | 8d39b71f35e088f9e153e2462158ce2962cf3a8a (diff) |
Fix some deprecation warnings
Change-Id: I60a02dea64a5f6fd34c2de86e60bdfb9171b3ea0
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
Diffstat (limited to 'qadevOOo/runner/complexlib/MethodThread.java')
-rw-r--r-- | qadevOOo/runner/complexlib/MethodThread.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/qadevOOo/runner/complexlib/MethodThread.java b/qadevOOo/runner/complexlib/MethodThread.java index e068323fd41e..418be5cbf7bf 100644 --- a/qadevOOo/runner/complexlib/MethodThread.java +++ b/qadevOOo/runner/complexlib/MethodThread.java @@ -95,9 +95,18 @@ public class MethodThread extends Thread /** * Stop the running method. + * @deprecated */ public void destroy() { + stop(); + } + + /** + * Stop the running method. + */ + public void stopRunning() + { try { interrupt(); |