From c2d73acad34f43b7c48ef9a4e492ab5b48bb4852 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 2 Jun 2015 10:04:20 +0200 Subject: [PATCH] inline simple Java method Change-Id: I496fa3223ed97d4d2cf8d64649ce30da22331dbd Reviewed-on: https://gerrit.libreoffice.org/16039 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- dbaccess/qa/complex/dbaccess/CopyTableWizard.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/dbaccess/qa/complex/dbaccess/CopyTableWizard.java b/dbaccess/qa/complex/dbaccess/CopyTableWizard.java index 03727fe2ed2b..97c63d2de335 100644 --- a/dbaccess/qa/complex/dbaccess/CopyTableWizard.java +++ b/dbaccess/qa/complex/dbaccess/CopyTableWizard.java @@ -167,7 +167,7 @@ public class CopyTableWizard extends CRMBasedTestCase copyWizard.setCreatePrimaryKey(auto); Thread thread = new Thread(new CopyThread(copyWizard)); thread.start(); - sleep(); + util.utils.shortWait(); try { @@ -195,14 +195,9 @@ public class CopyTableWizard extends CRMBasedTestCase catch (com.sun.star.lang.IndexOutOfBoundsException indexOutOfBoundsException) { } - sleep(); + util.utils.shortWait(); thread.join(); } - private void sleep() - { - util.utils.shortWait(); - } - }