Skip to content

Commit c004615

Browse files
committed
Run GJF again
1 parent b64fc3f commit c004615

35 files changed

+96
-119
lines changed

src/main/java/org/jabref/cli/JabRefCLI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class JabRefCLI {
2828
100; // Number of characters per line before a line break must be added.
2929
private static final String WRAPPED_LINE_PREFIX =
3030
""; // If a line break is added, this prefix will be inserted at the beginning of the
31-
// next line
31+
// next line
3232
private static final String STRING_TABLE_DELIMITER = " : ";
3333

3434
private final CommandLine cl;

src/main/java/org/jabref/gui/ai/components/aichat/AiChatComponent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ private List<Notification> updateNotificationsForEntry(BibEntry entry) {
226226
assert ingestionStatus
227227
.getException()
228228
.isPresent(); // When the state is ERROR, the exception
229-
// must be present.
229+
// must be present.
230230

231231
notifications.add(
232232
new Notification(

src/main/java/org/jabref/gui/autocompleter/SuggestionProvider.java

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,8 @@ public final Collection<T> provideSuggestions(ISuggestionRequest request) {
5050
Equivalence<T> equivalence = getEquivalence();
5151
return getSource()
5252
.filter(candidate -> isMatch(candidate, request))
53-
.map(
54-
equivalence
55-
::wrap) // Need to do a bit of acrobatic as there is no
56-
// distinctBy method
53+
.map(equivalence::wrap) // Need to do a bit of acrobatic as there is no
54+
// distinctBy method
5755
.distinct()
5856
.limit(10)
5957
.map(Equivalence.Wrapper::get)
@@ -70,10 +68,8 @@ public List<T> getPossibleSuggestions() {
7068
Comparator<T> comparator = getComparator().reversed();
7169
Equivalence<T> equivalence = getEquivalence();
7270
return getSource()
73-
.map(
74-
equivalence
75-
::wrap) // Need to do a bit of acrobatic as there is no distinctBy
76-
// method
71+
.map(equivalence::wrap) // Need to do a bit of acrobatic as there is no distinctBy
72+
// method
7773
.distinct()
7874
.map(Equivalence.Wrapper::get)
7975
.sorted(comparator)

src/main/java/org/jabref/gui/desktop/os/Linux.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public void openFolderAndSelectFile(Path filePath) throws IOException {
138138
new String[] {
139139
"nemo", absoluteFilePath
140140
}; // Although nemo is based on nautilus it does not support --select, it
141-
// directly highlights the file
141+
// directly highlights the file
142142
} else if (desktopSession.contains("xfce")) {
143143
cmd = new String[] {"thunar", absoluteFilePath};
144144
}

src/main/java/org/jabref/gui/exporter/ExportCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ private void export(
159159
fileDirForDatabase,
160160
abbreviationRepository);
161161
return null; // can not use BackgroundTask.wrap(Runnable) because
162-
// Runnable.run() can't throw Exceptions
162+
// Runnable.run() can't throw Exceptions
163163
})
164164
.onSuccess(
165165
save -> {

src/main/java/org/jabref/gui/fieldeditors/FieldEditorFX.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ default void establishBinding(
4747
if (e.getEventType()
4848
== KeyEvent
4949
.KEY_PRESSED // if not checked, it will be fired twice:
50-
// once for key pressed and once for key
51-
// released
50+
// once for key pressed and once for key
51+
// released
5252
&& e.isShortcutDown()) {
5353
if (keyBindingRepository.matches(e, KeyBinding.UNDO)) {
5454
undoAction.execute();

src/main/java/org/jabref/gui/fieldeditors/LinkedFilesEditor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ private Node createFileDisplay(LinkedFileViewModel linkedFile) {
220220
HBox.setHgrow(info, Priority.ALWAYS);
221221
info.setStyle(
222222
"-fx-padding: 0.5em 0 0.5em 0;"); // To align with buttons below which also have
223-
// 0.5em padding
223+
// 0.5em padding
224224
info.getChildren().setAll(label, progressIndicator);
225225

226226
Button acceptAutoLinkedFile = IconTheme.JabRefIcons.AUTO_LINKED_FILE.asButton();

src/main/java/org/jabref/gui/frame/JabRefFrame.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ private void initKeyBindings() {
381381
break;
382382
case PASTE:
383383
if (OS.OS_X) { // Workaround for a jdk issue that executes paste
384-
// twice when using cmd+v in a TextField
384+
// twice when using cmd+v in a TextField
385385
// Extra workaround for CodeArea, which does not inherit from
386386
// TextInputControl
387387
if (!(stateManager.getFocusOwner().isPresent()
@@ -492,7 +492,7 @@ private void initBindings() {
492492
libraryTab.textProperty().getValue()
493493
+ " – "
494494
+ FRAME_TITLE, // not a minus, but codepoint
495-
// 2013
495+
// 2013
496496
libraryTab.textProperty());
497497
mainStage.titleProperty().bind(windowTitle);
498498
});

src/main/java/org/jabref/gui/frame/MainMenu.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ StandardActions.PARSE_LATEX, new ParseLatexAction(stateManager)),
641641
stateManager,
642642
(UiTaskExecutor)
643643
taskExecutor)), // we know at this point that this
644-
// is a UITaskExecutor
644+
// is a UITaskExecutor
645645
new SeparatorMenuItem(),
646646
createSendSubMenu(factory, dialogService, stateManager, preferences),
647647
pushToApplicationMenuItem,

src/main/java/org/jabref/gui/openoffice/OOBibBase.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -924,9 +924,8 @@ public void guiActionUpdateDocument(List<BibDatabase> databases, OOStyle style)
924924
syncOptions
925925
.setUpdateBibliography(true)
926926
.setAlwaysAddCitedOnPages(
927-
this
928-
.alwaysAddCitedOnPages); // TODO: Provide option to
929-
// user: this is always false
927+
this.alwaysAddCitedOnPages); // TODO: Provide option to
928+
// user: this is always false
930929

931930
unresolvedKeys =
932931
Update.synchronizeDocument(

0 commit comments

Comments
 (0)