diff options
Diffstat (limited to 'uitest/src/com/vaadin/tests/application/ThreadLocalInstances.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/application/ThreadLocalInstances.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/application/ThreadLocalInstances.java b/uitest/src/com/vaadin/tests/application/ThreadLocalInstances.java index 57c4e3c7b9..82d876d9cb 100644 --- a/uitest/src/com/vaadin/tests/application/ThreadLocalInstances.java +++ b/uitest/src/com/vaadin/tests/application/ThreadLocalInstances.java @@ -34,11 +34,11 @@ public class ThreadLocalInstances extends AbstractTestCase { Thread thread = new Thread() { @Override public void run() { - getSession().getLock().lock(); + getSession().lock(); try { reportCurrentStatus("background thread"); } finally { - getSession().getLock().unlock(); + getSession().unlock(); } } }; |