diff --git a/platform/vcs-impl/testSrc/com/intellij/testFramework/vcs/FileBasedTest.java b/platform/vcs-impl/testSrc/com/intellij/testFramework/vcs/FileBasedTest.java index fb246aed9a57..f5641f8346e8 100644 --- a/platform/vcs-impl/testSrc/com/intellij/testFramework/vcs/FileBasedTest.java +++ b/platform/vcs-impl/testSrc/com/intellij/testFramework/vcs/FileBasedTest.java @@ -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); } }); }