diff --git a/plugin/src/software/aws/toolkits/eclipse/amazonq/configuration/PluginStore.java b/plugin/src/software/aws/toolkits/eclipse/amazonq/configuration/PluginStore.java index f9209caf..1c1b9a89 100644 --- a/plugin/src/software/aws/toolkits/eclipse/amazonq/configuration/PluginStore.java +++ b/plugin/src/software/aws/toolkits/eclipse/amazonq/configuration/PluginStore.java @@ -27,4 +27,4 @@ public static String get(final String key) { return PREFERENCES.get(key, null); } -} \ No newline at end of file +} diff --git a/plugin/src/software/aws/toolkits/eclipse/amazonq/lsp/LspStartupActivity.java b/plugin/src/software/aws/toolkits/eclipse/amazonq/lsp/LspStartupActivity.java index 176c4375..366959c2 100644 --- a/plugin/src/software/aws/toolkits/eclipse/amazonq/lsp/LspStartupActivity.java +++ b/plugin/src/software/aws/toolkits/eclipse/amazonq/lsp/LspStartupActivity.java @@ -43,13 +43,12 @@ protected IStatus run(final IProgressMonitor monitor) { } }; job.schedule(); - - if(PluginStore.get(ViewConstants.PREFERENCE_STORE_PLUGIN_FIRST_STARTUP_KEY) == null) { + if (PluginStore.get(ViewConstants.PREFERENCE_STORE_PLUGIN_FIRST_STARTUP_KEY) == null) { this.launchWebview(); } } - - private final void launchWebview() { + + private void launchWebview() { IWorkbench workbench = PlatformUI.getWorkbench(); workbench.getDisplay().asyncExec(new Runnable() { public void run() { @@ -62,7 +61,7 @@ public void run() { } } catch (PartInitException e) { PluginLogger.warn("Error occurred during auto loading of plugin", e); - } + } } }); }