remove yellow code

This commit is contained in:
Sergey Ignatov
2017-02-09 15:51:42 +03:00
parent 24287ff75b
commit 294bf505f8
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2015 JetBrains s.r.o.
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -45,15 +45,12 @@ public abstract class FileBasedTest {
@After
public void tearDown() throws Exception {
UIUtil.invokeAndWaitIfNeeded(new Runnable() {
@Override
public void run() {
try {
myProjectFixture.tearDown();
}
catch (Exception e) {
throw new RuntimeException(e);
}
UIUtil.invokeAndWaitIfNeeded((Runnable)() -> {
try {
myProjectFixture.tearDown();
}
catch (Exception e) {
throw new RuntimeException(e);
}
});
}