Skip to content

Commit

Permalink
Checkstyle fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Paras committed Sep 17, 2024
1 parent 009ac09 commit e6f5538
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ public static String get(final String key) {
return PREFERENCES.get(key, null);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -62,7 +61,7 @@ public void run() {
}
} catch (PartInitException e) {
PluginLogger.warn("Error occurred during auto loading of plugin", e);
}
}
}
});
}
Expand Down

0 comments on commit e6f5538

Please sign in to comment.