Skip to content

Commit b838e28

Browse files
committed
line breaks
1 parent 65e7566 commit b838e28

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

jabgui/src/main/java/org/jabref/gui/util/component/HelpButton.java

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,12 @@ public HelpButton() {
3333
if (isHelpFileSet) {
3434
throw new IllegalStateException("Help file has already been set");
3535
}
36-
setOnAction(_ -> new OpenBrowserAction(helpUrl.get(), Injector.instantiateModelOrService(DialogService.class), Injector.instantiateModelOrService(GuiPreferences.class).getExternalApplicationsPreferences()).execute());
36+
37+
setOnAction(_ -> new OpenBrowserAction(
38+
helpUrl.get(),
39+
Injector.instantiateModelOrService(DialogService.class),
40+
Injector.instantiateModelOrService(GuiPreferences.class).getExternalApplicationsPreferences()
41+
).execute());
3742
});
3843
}
3944

@@ -42,7 +47,9 @@ public HelpButton(@NonNull String url) {
4247
setHelpUrl(url);
4348
}
4449

45-
public void setHelpFile(@NonNull HelpFile helpFile, @NonNull DialogService dialogService, @NonNull ExternalApplicationsPreferences externalApplicationsPreferences) {
50+
public void setHelpFile(@NonNull HelpFile helpFile,
51+
@NonNull DialogService dialogService,
52+
@NonNull ExternalApplicationsPreferences externalApplicationsPreferences) {
4653
if (isHelpFileSet) {
4754
throw new IllegalStateException("Help file has already been set");
4855
}

0 commit comments

Comments
 (0)