From b053beb08534e514fc6f4b6d07b0555fb2cc4371 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Mon, 24 Oct 2016 11:29:01 +0200 Subject: [PATCH] [platform] unneeded 'invokeLater()' call --- .../platform-main/src/com/intellij/idea/MainImpl.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/platform/platform-main/src/com/intellij/idea/MainImpl.java b/platform/platform-main/src/com/intellij/idea/MainImpl.java index 4532035af55e..584ff770d381 100644 --- a/platform/platform-main/src/com/intellij/idea/MainImpl.java +++ b/platform/platform-main/src/com/intellij/idea/MainImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2015 JetBrains s.r.o. + * Copyright 2000-2016 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. @@ -42,11 +42,9 @@ public class MainImpl { StartupUtil.runStartupWizard(); } - final IdeaApplication app = new IdeaApplication(args); - //noinspection SSBasedInspection - SwingUtilities.invokeLater(() -> app.run()); + new IdeaApplication(args).run(); }); } }); } -} +} \ No newline at end of file