citationEntries) {
*
* Note: Undo does not remove or reestablish custom properties.
*
- * @param entries The entries to cite.
+ * @param entries The entries to cite.
* @param bibDatabaseContext The database the entries belong to (all of them). Used when creating the citation mark.
- *
- * Consistency: for each entry in {@code entries}: looking it up in {@code syncOptions.get().databases} (if present) should yield {@code database}.
- * @param style The bibliography style we are using.
- * @param citationType Indicates whether it is an in-text citation, a citation in parenthesis or an invisible citation.
- * @param pageInfo A single page-info for these entries. Attributed to the last entry.
- * @param syncOptions Indicates whether in-text citations should be refreshed in the document. Optional.empty() indicates no refresh. Otherwise provides options for refreshing the reference list.
+ *
+ * Consistency: for each entry in {@code entries}: looking it up in {@code syncOptions.get().databases} (if present) should yield {@code database}.
+ * @param style The bibliography style we are using.
+ * @param citationType Indicates whether it is an in-text citation, a citation in parenthesis or an invisible citation.
+ * @param pageInfo A single page-info for these entries. Attributed to the last entry.
+ * @param syncOptions Indicates whether in-text citations should be refreshed in the document. Optional.empty() indicates no refresh. Otherwise provides options for refreshing the reference list.
*/
public void guiActionInsertEntry(List entries,
BibDatabaseContext bibDatabaseContext,
@@ -841,7 +841,7 @@ public Optional exportCitedHelper(List databases, bool
* GUI action, refreshes citation markers and bibliography.
*
* @param databases Must have at least one.
- * @param style Style.
+ * @param style Style.
*/
public void guiActionUpdateDocument(List databases, OOStyle style) {
final String errorTitle = Localization.lang("Unable to synchronize bibliography");
diff --git a/jabgui/src/main/java/org/jabref/gui/openoffice/OpenOfficePanel.java b/jabgui/src/main/java/org/jabref/gui/openoffice/OpenOfficePanel.java
index de8bc8b8b0f..f6f18e84c35 100644
--- a/jabgui/src/main/java/org/jabref/gui/openoffice/OpenOfficePanel.java
+++ b/jabgui/src/main/java/org/jabref/gui/openoffice/OpenOfficePanel.java
@@ -509,7 +509,7 @@ private OOBibBase createBibBase(Path loPath) throws BootstrapException, Creation
/**
* Given the withText and inParenthesis options, return the corresponding citationType.
*
- * @param withText False means invisible citation (no text).
+ * @param withText False means invisible citation (no text).
* @param inParenthesis True means "(Au and Thor 2000)". False means "Au and Thor (2000)".
*/
private static CitationType citationTypeFromOptions(boolean withText, boolean inParenthesis) {
diff --git a/jabgui/src/main/java/org/jabref/gui/preferences/PreferencesSearchHandler.java b/jabgui/src/main/java/org/jabref/gui/preferences/PreferencesSearchHandler.java
index 002a87f690e..f188c84700a 100644
--- a/jabgui/src/main/java/org/jabref/gui/preferences/PreferencesSearchHandler.java
+++ b/jabgui/src/main/java/org/jabref/gui/preferences/PreferencesSearchHandler.java
@@ -65,7 +65,7 @@ public void filterTabs(String query) {
/**
* Checks if a tab matches the given search query either by its name or by its controls.
*
- * @param tab The preferences tab to check.
+ * @param tab The preferences tab to check.
* @param query The search query.
* @return True if the tab matches the query.
*/
@@ -93,7 +93,7 @@ private boolean tabMatchesQuery(PreferencesTab tab, String query) {
*
*
* @param control The control to check.
- * @param query The search query.
+ * @param query The search query.
* @return true if the control contains the query, otherwise false.
*/
private boolean controlMatchesQuery(Control control, String query) {
@@ -161,9 +161,9 @@ private ArrayListMultimap getPreferenceTabsControlsMap(
/**
* Recursively scans nodes and collects all controls.
*
- * @param node The current node being scanned.
+ * @param node The current node being scanned.
* @param controlMap Map storing tabs and their corresponding controls.
- * @param tab The PreferencesTab associated with the current node.
+ * @param tab The PreferencesTab associated with the current node.
*/
private void scanControls(Node node, ArrayListMultimap controlMap, PreferencesTab tab) {
if (node instanceof Control control) {
diff --git a/jabgui/src/main/java/org/jabref/gui/preferences/customimporter/CustomImporterTabViewModel.java b/jabgui/src/main/java/org/jabref/gui/preferences/customimporter/CustomImporterTabViewModel.java
index 7bdfc1d01c4..a1053298cc5 100644
--- a/jabgui/src/main/java/org/jabref/gui/preferences/customimporter/CustomImporterTabViewModel.java
+++ b/jabgui/src/main/java/org/jabref/gui/preferences/customimporter/CustomImporterTabViewModel.java
@@ -60,7 +60,7 @@ public void storeSettings() {
* Converts a path relative to a base-path into a class name.
*
* @param basePath base path
- * @param path path that includes base-path as a prefix
+ * @param path path that includes base-path as a prefix
* @return class name
*/
private static String pathToClass(String basePath, Path path) {
diff --git a/jabgui/src/main/java/org/jabref/gui/preferences/preview/PreviewTab.java b/jabgui/src/main/java/org/jabref/gui/preferences/preview/PreviewTab.java
index d27d8a9dd3d..116d3db7f99 100644
--- a/jabgui/src/main/java/org/jabref/gui/preferences/preview/PreviewTab.java
+++ b/jabgui/src/main/java/org/jabref/gui/preferences/preview/PreviewTab.java
@@ -223,7 +223,7 @@ public void initialize() {
* This is called, if a user starts typing some characters into the keyboard with focus on one ListView. The
* ListView will scroll to the next cell with the name of the PreviewLayout fitting those characters.
*
- * @param list The ListView currently focused
+ * @param list The ListView currently focused
* @param keypressed The pressed character
*/
diff --git a/jabgui/src/main/java/org/jabref/gui/slr/ExistingStudySearchAction.java b/jabgui/src/main/java/org/jabref/gui/slr/ExistingStudySearchAction.java
index e1d66d6e074..809d7ba7a76 100644
--- a/jabgui/src/main/java/org/jabref/gui/slr/ExistingStudySearchAction.java
+++ b/jabgui/src/main/java/org/jabref/gui/slr/ExistingStudySearchAction.java
@@ -41,7 +41,7 @@ public class ExistingStudySearchAction extends SimpleCommand {
private final Supplier openDatabaseActionSupplier;
/**
- * @param tabContainer Required to close the tab before the study is updated
+ * @param tabContainer Required to close the tab before the study is updated
* @param openDatabaseActionSupplier Required to open the tab after the study is executed
*/
public ExistingStudySearchAction(
diff --git a/jabgui/src/main/java/org/jabref/gui/slr/ManageStudyDefinitionView.java b/jabgui/src/main/java/org/jabref/gui/slr/ManageStudyDefinitionView.java
index c7fe540cccf..fa466e81166 100644
--- a/jabgui/src/main/java/org/jabref/gui/slr/ManageStudyDefinitionView.java
+++ b/jabgui/src/main/java/org/jabref/gui/slr/ManageStudyDefinitionView.java
@@ -103,7 +103,7 @@ public ManageStudyDefinitionView(Path pathToStudyDataDirectory) {
/**
* This is used to edit an existing study.
*
- * @param study the study to edit
+ * @param study the study to edit
* @param studyDirectory the directory of the study
*/
public ManageStudyDefinitionView(Study study, Path studyDirectory) {
diff --git a/jabgui/src/main/java/org/jabref/gui/slr/ManageStudyDefinitionViewModel.java b/jabgui/src/main/java/org/jabref/gui/slr/ManageStudyDefinitionViewModel.java
index 6cde33f6926..f6aeb285d34 100644
--- a/jabgui/src/main/java/org/jabref/gui/slr/ManageStudyDefinitionViewModel.java
+++ b/jabgui/src/main/java/org/jabref/gui/slr/ManageStudyDefinitionViewModel.java
@@ -89,7 +89,7 @@ public ManageStudyDefinitionViewModel(ImportFormatPreferences importFormatPrefer
/**
* Constructor for an existing study
*
- * @param study The study to initialize the UI from
+ * @param study The study to initialize the UI from
* @param studyDirectory The path where the study resides
*/
public ManageStudyDefinitionViewModel(@NonNull Study study,
diff --git a/jabgui/src/main/java/org/jabref/gui/util/ControlHelper.java b/jabgui/src/main/java/org/jabref/gui/util/ControlHelper.java
index ba392ec62ae..530e555c1d9 100644
--- a/jabgui/src/main/java/org/jabref/gui/util/ControlHelper.java
+++ b/jabgui/src/main/java/org/jabref/gui/util/ControlHelper.java
@@ -103,11 +103,11 @@ public static void removeDroppingPseudoClasses(Cell> cell) {
/**
* If needed, truncates a given string to maxCharacters, adding ellipsisString instead.
*
- * @param text text which should be truncated, if needed
- * @param maxCharacters maximum amount of characters which the resulting text should have, including the
- * ellipsisString; if set to -1, then the default length of 75 characters will be
- * used
- * @param ellipsisString string which should be used for indicating the truncation
+ * @param text text which should be truncated, if needed
+ * @param maxCharacters maximum amount of characters which the resulting text should have, including the
+ * ellipsisString; if set to -1, then the default length of 75 characters will be
+ * used
+ * @param ellipsisString string which should be used for indicating the truncation
* @param ellipsisPosition location in the given text where the truncation should be performed
* @return the new, truncated string
*/
diff --git a/jabgui/src/main/java/org/jabref/gui/util/CustomLocalDragboard.java b/jabgui/src/main/java/org/jabref/gui/util/CustomLocalDragboard.java
index e0d790f85db..6ffdbc2779e 100644
--- a/jabgui/src/main/java/org/jabref/gui/util/CustomLocalDragboard.java
+++ b/jabgui/src/main/java/org/jabref/gui/util/CustomLocalDragboard.java
@@ -22,7 +22,7 @@ public class CustomLocalDragboard {
/**
* Puts the value of the concrete class in a map. All previous content stored in the map is removed
*
- * @param type The Type of the class
+ * @param type The Type of the class
* @param value The value to store
*/
public void putValue(Class type, T value) {
diff --git a/jabgui/src/main/java/org/jabref/gui/util/UiTaskExecutor.java b/jabgui/src/main/java/org/jabref/gui/util/UiTaskExecutor.java
index 4d123477042..a5d82f86029 100644
--- a/jabgui/src/main/java/org/jabref/gui/util/UiTaskExecutor.java
+++ b/jabgui/src/main/java/org/jabref/gui/util/UiTaskExecutor.java
@@ -101,7 +101,7 @@ public static void runInJavaFXThread(Runnable runnable) {
* The JavaFX task executes the call method a background thread and the onFailed onSucceed on the FX UI thread
*
* @param task the BackgroundTask to run
- * @param The background task type
+ * @param The background task type
* @return Future of a JavaFX Task which will execute the call method a background thread
*/
@Override
@@ -125,7 +125,7 @@ public Future execute(BackgroundTask task) {
* Runs the given task and returns a Future representing that task. Usually, you want to use the other method {@link
* #execute(BackgroundTask)}.
*
- * @param type of return value of the task
+ * @param type of return value of the task
* @param task the task to run
*/
public Future execute(Task task) {
diff --git a/jabgui/src/main/java/org/jabref/gui/walkthrough/WalkthroughHighlighter.java b/jabgui/src/main/java/org/jabref/gui/walkthrough/WalkthroughHighlighter.java
index 41e67cb3b49..3258d734644 100644
--- a/jabgui/src/main/java/org/jabref/gui/walkthrough/WalkthroughHighlighter.java
+++ b/jabgui/src/main/java/org/jabref/gui/walkthrough/WalkthroughHighlighter.java
@@ -27,11 +27,11 @@ public class WalkthroughHighlighter {
/// Applies the specified highlight configuration.
///
- /// @param config The highlight configuration to apply. Default to
- /// BackdropHighlight on the primary windows if null.
- /// @param scene The primary scene to apply the highlight to.
+ /// @param config The highlight configuration to apply. Default to
+ /// BackdropHighlight on the primary windows if null.
+ /// @param scene The primary scene to apply the highlight to.
/// @param fallbackTarget The fallback target node to use if no highlight
- /// configuration is provided.
+ /// configuration is provided.
public void applyHighlight(@Nullable WalkthroughEffect config, @NonNull Scene scene, @Nullable Node fallbackTarget) {
Map newEffects = computeNewEffects(config, scene, fallbackTarget);
@@ -54,8 +54,8 @@ public void applyHighlight(@Nullable WalkthroughEffect config, @NonNull Scene sc
/// Sets a handler to be called when the user clicks on backdrop or darkened areas.
///
/// @param handler The handler to call when the background is clicked. If null, no
- /// action will be taken on background clicks. Usually used to
- /// support quit walkthrough on clicking the effects.
+ /// action will be taken on background clicks. Usually used to
+ /// support quit walkthrough on clicking the effects.
public void setOnBackgroundClick(@Nullable Runnable handler) {
this.onBackgroundClickHandler = handler;
}
diff --git a/jabgui/src/main/java/org/jabref/gui/walkthrough/WalkthroughRenderer.java b/jabgui/src/main/java/org/jabref/gui/walkthrough/WalkthroughRenderer.java
index 622686b045d..947da98fae7 100644
--- a/jabgui/src/main/java/org/jabref/gui/walkthrough/WalkthroughRenderer.java
+++ b/jabgui/src/main/java/org/jabref/gui/walkthrough/WalkthroughRenderer.java
@@ -25,8 +25,8 @@
public class WalkthroughRenderer {
/// Renders a tooltip step into a JavaFX node.
///
- /// @param step The tooltip step to render
- /// @param walkthrough The walkthrough context for navigation
+ /// @param step The tooltip step to render
+ /// @param walkthrough The walkthrough context for navigation
/// @param beforeNavigate Runnable to execute before any navigation action
/// @return The rendered tooltip content node
public Node render(TooltipStep step, Walkthrough walkthrough, Runnable beforeNavigate) {
@@ -56,8 +56,8 @@ public Node render(TooltipStep step, Walkthrough walkthrough, Runnable beforeNav
/// Renders a panel step into a JavaFX node.
///
- /// @param step The panel step to render
- /// @param walkthrough The walkthrough context for navigation
+ /// @param step The panel step to render
+ /// @param walkthrough The walkthrough context for navigation
/// @param beforeNavigate Runnable to execute before any navigation action
/// @return The rendered panel node
public Node render(PanelStep step, Walkthrough walkthrough, Runnable beforeNavigate) {
diff --git a/jabgui/src/main/java/org/jabref/gui/walkthrough/WindowOverlay.java b/jabgui/src/main/java/org/jabref/gui/walkthrough/WindowOverlay.java
index b74d4033b90..b88ba52cbf9 100644
--- a/jabgui/src/main/java/org/jabref/gui/walkthrough/WindowOverlay.java
+++ b/jabgui/src/main/java/org/jabref/gui/walkthrough/WindowOverlay.java
@@ -76,17 +76,17 @@ public WindowOverlay(Window window, WalkthroughPane pane, Walkthrough walkthroug
/// Display a tooltip for the given step at the specified node.
///
- /// @param step The step to display.
- /// @param node The node to anchor the tooltip to, or null to show it at
- /// the window. The node is expected to be positionable by
- /// [WalkthroughUtils#cannotPositionNode(Node)] standard.
+ /// @param step The step to display.
+ /// @param node The node to anchor the tooltip to, or null to show it at
+ /// the window. The node is expected to be positionable by
+ /// [WalkthroughUtils#cannotPositionNode(Node)] standard.
/// @param beforeNavigate A runnable to execute before navigating to the next step.
- /// More precisely, the runnable to execute immediately upon
- /// the button press before Walkthrough's state change to the
- /// next step and before the original button/node's action is
- /// executed. Usually used to prevent automatic revert from
- /// unexpected reverting to the previous step when the node is
- /// not yet ready to be displayed
+ /// More precisely, the runnable to execute immediately upon
+ /// the button press before Walkthrough's state change to the
+ /// next step and before the original button/node's action is
+ /// executed. Usually used to prevent automatic revert from
+ /// unexpected reverting to the previous step when the node is
+ /// not yet ready to be displayed
/// @implNote The requirement for the node to be positionable by
/// [WalkthroughUtils#cannotPositionNode(Node)] standard is just to make things
/// easier to define. This requirement come from
@@ -184,17 +184,17 @@ public void showPanel(PanelStep step, Runnable beforeNavigate) {
/// Display a Panel for the given step at the specified node.
///
- /// @param step The step to display.
- /// @param node The node to anchor highlight to (e.g., BackdropHighlight
- /// may poke a hole at the position of the node), or null to
- /// use fallback effect of corresponding position.
+ /// @param step The step to display.
+ /// @param node The node to anchor highlight to (e.g., BackdropHighlight
+ /// may poke a hole at the position of the node), or null to
+ /// use fallback effect of corresponding position.
/// @param beforeNavigate A runnable to execute before navigating to the next step.
- /// More precisely, the runnable to execute immediately upon
- /// the button press before Walkthrough's state change to the
- /// next step and before the original button/node's action is
- /// executed. Usually used to prevent automatic revert from
- /// unexpected reverting to the previous step when the node is
- /// not yet ready to be displayed
+ /// More precisely, the runnable to execute immediately upon
+ /// the button press before Walkthrough's state change to the
+ /// next step and before the original button/node's action is
+ /// executed. Usually used to prevent automatic revert from
+ /// unexpected reverting to the previous step when the node is
+ /// not yet ready to be displayed
/// @see WindowOverlay#showPanel(PanelStep, Runnable)
/// @see WindowOverlay#showTooltip(TooltipStep, Node, Runnable)
public void showPanel(PanelStep step, @Nullable Node node, Runnable beforeNavigate) {
diff --git a/jabgui/src/main/java/org/jabref/gui/walkthrough/declarative/NodeResolver.java b/jabgui/src/main/java/org/jabref/gui/walkthrough/declarative/NodeResolver.java
index e080254f2ff..2821b264139 100644
--- a/jabgui/src/main/java/org/jabref/gui/walkthrough/declarative/NodeResolver.java
+++ b/jabgui/src/main/java/org/jabref/gui/walkthrough/declarative/NodeResolver.java
@@ -131,7 +131,7 @@ static NodeResolver buttonType(@NonNull ButtonType buttonType) {
/// content in the node and the node's LabeledText children. The returned node is
/// guaranteed to be visible.
///
- /// @param selector the style class to match
+ /// @param selector the style class to match
/// @param textMatcher predicate to match text content in LabeledText children
/// @return a resolver that finds the node by style class and text content
static NodeResolver selectorWithText(@NonNull String selector, @NonNull Predicate textMatcher) {
diff --git a/jabgui/src/main/java/org/jabref/gui/walkthrough/declarative/Trigger.java b/jabgui/src/main/java/org/jabref/gui/walkthrough/declarative/Trigger.java
index 74b381233af..a9aa52cebdf 100644
--- a/jabgui/src/main/java/org/jabref/gui/walkthrough/declarative/Trigger.java
+++ b/jabgui/src/main/java/org/jabref/gui/walkthrough/declarative/Trigger.java
@@ -38,9 +38,9 @@ public interface Trigger {
/// Attaches the navigation triggers to the target node. `beforeNavigate` and `onNavigate` are guaranteed to run at
/// most once.
///
- /// @param node the node to attach the listeners to
+ /// @param node the node to attach the listeners to
/// @param beforeNavigate the runnable to execute before navigation
- /// @param onNavigate the runnable to execute when navigation occurs
+ /// @param onNavigate the runnable to execute when navigation occurs
/// @return a runnable to clean up the listeners
Runnable attach(@NonNull Node node, Runnable beforeNavigate, Runnable onNavigate);
@@ -94,9 +94,9 @@ private interface PredicateGenerator {
/// Modify the node's event dispatch chain or register custom logic to trigger [Trigger] when desired
/// conditions are met.
///
- /// @param node The node to attach the trigger to.
+ /// @param node The node to attach the trigger to.
/// @param onNavigate A function that wraps the original event handler. It takes a Supplier representing the
- /// original action and returns the result of that action.
+ /// original action and returns the result of that action.
/// @return A cleanup runnable that detaches the trigger.
Runnable create(Node node, Function, ?> onNavigate);
}
diff --git a/jabgui/src/main/java/org/jabref/gui/walkthrough/declarative/WindowResolver.java b/jabgui/src/main/java/org/jabref/gui/walkthrough/declarative/WindowResolver.java
index ac4e0497245..c3329620f23 100644
--- a/jabgui/src/main/java/org/jabref/gui/walkthrough/declarative/WindowResolver.java
+++ b/jabgui/src/main/java/org/jabref/gui/walkthrough/declarative/WindowResolver.java
@@ -35,7 +35,7 @@ static WindowResolver title(@NonNull String key) {
/// Creates a resolver that finds a window that's not the window specified.
///
/// @param window the window to exclude from the search. Usually this is the current
- /// window.
+ /// window.
/// @return a resolver that finds any window except the specified one
static WindowResolver not(Window window) {
return () -> {
diff --git a/jabgui/src/main/java/org/jabref/gui/walkthrough/declarative/sideeffect/SideEffectExecutor.java b/jabgui/src/main/java/org/jabref/gui/walkthrough/declarative/sideeffect/SideEffectExecutor.java
index d6f0c2b5cdd..8c4db4229da 100644
--- a/jabgui/src/main/java/org/jabref/gui/walkthrough/declarative/sideeffect/SideEffectExecutor.java
+++ b/jabgui/src/main/java/org/jabref/gui/walkthrough/declarative/sideeffect/SideEffectExecutor.java
@@ -32,7 +32,7 @@ public class SideEffectExecutor {
/// Executes a side effect's forward action, waiting for the expected condition if
/// necessary.
///
- /// @param sideEffect the side effect to execute
+ /// @param sideEffect the side effect to execute
/// @param walkthrough the walkthrough context
/// @return true if the side effect was executed successfully, false otherwise
public boolean executeForward(@NonNull WalkthroughSideEffect sideEffect, @NonNull Walkthrough walkthrough) {
@@ -41,7 +41,7 @@ public boolean executeForward(@NonNull WalkthroughSideEffect sideEffect, @NonNul
/// Executes a side effect's backward action.
///
- /// @param sideEffect the side effect to execute
+ /// @param sideEffect the side effect to execute
/// @param walkthrough the walkthrough context
/// @return true if the side effect was executed successfully, false otherwise
public boolean executeBackward(@NonNull WalkthroughSideEffect sideEffect, @NonNull Walkthrough walkthrough) {
diff --git a/jabgui/src/main/java/org/jabref/gui/walkthrough/effects/BaseWindowEffect.java b/jabgui/src/main/java/org/jabref/gui/walkthrough/effects/BaseWindowEffect.java
index 8e13546762e..93a70399b9c 100644
--- a/jabgui/src/main/java/org/jabref/gui/walkthrough/effects/BaseWindowEffect.java
+++ b/jabgui/src/main/java/org/jabref/gui/walkthrough/effects/BaseWindowEffect.java
@@ -25,7 +25,7 @@ public sealed abstract class BaseWindowEffect permits Spotlight, FullScreenDarke
/// pane until [#attach(Node)] is called.
///
/// @param pane The pane where the effect will be applied. Usually obtained from [Window#getScene()] and
- /// [Scene#getRoot()]
+ /// [Scene#getRoot()]
protected BaseWindowEffect(@NonNull Pane pane) {
this.pane = pane;
this.debouncedUpdater = WalkthroughUtils.debounced(_ -> this.updateLayout());
diff --git a/jabgui/src/main/java/org/jabref/gui/walkthrough/utils/WalkthroughUtils.java b/jabgui/src/main/java/org/jabref/gui/walkthrough/utils/WalkthroughUtils.java
index 6302b6d1d08..70d81553aa4 100644
--- a/jabgui/src/main/java/org/jabref/gui/walkthrough/utils/WalkthroughUtils.java
+++ b/jabgui/src/main/java/org/jabref/gui/walkthrough/utils/WalkthroughUtils.java
@@ -63,7 +63,7 @@ public static DebouncedInvalidationListener debounced(InvalidationListener liste
/// there is a chance that this listener will run your methods after you removed it
/// from all the properties that it is attached to.
///
- /// @param listener the listener to debounce
+ /// @param listener the listener to debounce
/// @param intervalMs the minimum interval between executions in milliseconds
/// @return a debounced listener
public static DebouncedInvalidationListener debounced(InvalidationListener listener, long intervalMs) {
@@ -116,7 +116,7 @@ public static DebouncedRunnable debounced(Runnable runnable) {
/// when you clean up. Otherwise, there is a chance that this listener will run your
/// methods after you removed it from all the properties that it is attached to.
///
- /// @param runnable the runnable to debounce
+ /// @param runnable the runnable to debounce
/// @param intervalMs the minimum interval between executions in milliseconds
/// @return a debounced runnable
public static DebouncedRunnable debounced(Runnable runnable, long intervalMs) {
@@ -145,8 +145,8 @@ private static void scheduleExecution(Timeline timeline, long intervalMs, Runnab
/// until a stop condition is met.
///
/// @param stopCondition A supplier that should return true when the listener should
- /// be detached (as well as run anything interesting for the
- /// actual callee).
+ /// be detached (as well as run anything interesting for the
+ /// actual callee).
/// @return A runnable that can be used to detach the listener prematurely.
public static Runnable onWindowChangedUntil(@NonNull BooleanSupplier stopCondition) {
ListChangeListener listener = new ListChangeListener<>() {
diff --git a/jabgui/src/main/resources/icons/jabref.svg b/jabgui/src/main/resources/icons/jabref.svg
index 35b4d563b8c..109bbaeb0bf 100644
--- a/jabgui/src/main/resources/icons/jabref.svg
+++ b/jabgui/src/main/resources/icons/jabref.svg
@@ -2,51 +2,52 @@
image/svg+xml
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
+
+ id="defs3017">
+ height="350.02399"
+ width="350.02399"
+ id="SVGID_1_"
+ x="0"
+ y="0"/>
-
+
+ id="use3021"
+ overflow="visible"
+ xlink:href="#SVGID_1_"
+ style="overflow:visible"
+ x="0"
+ y="0"
+ width="350.02399"
+ height="350.02399"/>
@@ -55,67 +56,73 @@
-
-
+
+
+ style="fill:#4f5f8f;fill-opacity:1" />
+
+
+
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/Base.css b/jabgui/src/main/resources/org/jabref/gui/Base.css
index 953aa5e0bab..302ab094ba2 100644
--- a/jabgui/src/main/resources/org/jabref/gui/Base.css
+++ b/jabgui/src/main/resources/org/jabref/gui/Base.css
@@ -1102,7 +1102,7 @@ TextFlow > .tooltip-text-monospaced {
.mainToolbar .glyph-icon,
.mainToolbar .ikonli-font-icon {
/* `!important` is override library's default font size */
- -fx-font-size: 1.7em!important;
+ -fx-font-size: 1.7em !important;
-fx-fill: -jr-theme-text;
-fx-text-fill: -jr-theme-text;
-fx-icon-color: -jr-theme-text;
@@ -1590,35 +1590,45 @@ We want to have a look that matches our icons in the tool-bar */
.main-table .table-row-cell:matching-search-and-groups {
-fx-background-color: -jr-match-1-even;
}
+
.main-table .table-row-cell:matching-search-and-groups > .table-cell {
-fx-text-fill: -jr-match-1-text-color;
}
+
.main-table .table-row-cell:matching-search-and-groups:focused > .table-cell {
-fx-text-fill: -fx-focused-text-base-color;
}
+
.main-table .table-row-cell:matching-search-and-groups:focused:hover > .table-cell {
-fx-text-fill: -jr-maintable-focused-hover-text;
}
+
.main-table .table-row-cell:matching-search-and-groups:focused:hover > .table-cell > .ikonli-font-icon {
-fx-icon-color: -jr-maintable-focused-hover-text;
}
+
.main-table .table-row-cell:matching-search-and-groups:hover > .table-cell {
-fx-text-fill: -jr-hover-text;
}
+
.main-table .table-row-cell:matching-search-and-groups > .table-cell > .ikonli-font-icon {
-fx-icon-color: -jr-match-1-text-color;
}
+
.main-table .table-row-cell:matching-search-and-groups:hover > .table-cell > .ikonli-font-icon {
-fx-icon-color: -jr-hover-text;
}
+
.main-table .table-row-cell:matching-search-and-groups:odd {
-fx-background-color: -jr-match-1-odd;
}
+
.main-table .table-row-cell:matching-search-and-groups:selected,
.main-table .table-row-cell:matching-search-and-groups:focused,
.main-table .table-row-cell:matching-search-and-groups:focused:hover {
-fx-background-color: -jr-selected;
}
+
.main-table .table-row-cell:matching-search-and-groups:hover {
-fx-background-color: -jr-hover;
}
@@ -1626,36 +1636,46 @@ We want to have a look that matches our icons in the tool-bar */
.main-table .table-row-cell:matching-search-not-groups {
-fx-background-color: -jr-match-2-even;
}
+
.main-table .table-row-cell:matching-search-not-groups > .table-cell {
-fx-text-fill: -jr-match-2-text-color;
}
+
.main-table .table-row-cell:matching-search-not-groups:focused > .table-cell {
-fx-text-fill: -fx-focused-text-base-color;
}
+
.main-table .table-row-cell:matching-search-not-groups:focused:hover > .table-cell {
-fx-text-fill: -jr-maintable-focused-hover-text;
}
+
.main-table .table-row-cell:matching-search-not-groups:focused:hover > .table-cell > .ikonli-font-icon {
-fx-icon-color: -jr-maintable-focused-hover-text;
}
+
.main-table .table-row-cell:matching-search-not-groups:hover > .table-cell {
-fx-text-fill: -jr-hover-text;
}
+
.main-table .table-row-cell:matching-search-not-groups > .table-cell > .ikonli-font-icon {
-fx-icon-color: -jr-match-2-text-color;
}
+
.main-table .table-row-cell:matching-search-not-groups:hover > .table-cell > .ikonli-font-icon {
-fx-icon-color: -jr-hover-text;
}
+
.main-table .table-row-cell:matching-search-not-groups:odd {
-fx-background-color: -jr-match-2-odd;
}
+
.main-table .table-row-cell:matching-search-not-groups:selected,
.main-table .table-row-cell:matching-search-not-groups:focused,
.main-table .table-row-cell:matching-search-not-groups:focused:hover,
.main-table .table-row-cell:matching-search-not-groups:hover {
-fx-background-color: -jr-selected;
}
+
.main-table .table-row-cell:matching-search-not-groups:hover {
-fx-background-color: -jr-hover;
}
@@ -1663,36 +1683,46 @@ We want to have a look that matches our icons in the tool-bar */
.main-table .table-row-cell:matching-groups-not-search {
-fx-background-color: -jr-match-3-even;
}
+
.main-table .table-row-cell:matching-groups-not-search > .table-cell {
-fx-text-fill: -jr-match-3-text-color;
}
+
.main-table .table-row-cell:matching-groups-not-search:focused > .table-cell {
-fx-text-fill: -fx-focused-text-base-color;
}
+
.main-table .table-row-cell:matching-groups-not-search:focused:hover > .table-cell {
-fx-text-fill: -jr-maintable-focused-hover-text;
}
+
.main-table .table-row-cell:matching-groups-not-search:focused:hover > .table-cell > .ikonli-font-icon {
-fx-icon-color: -jr-maintable-focused-hover-text;
}
+
.main-table .table-row-cell:matching-groups-not-search:hover > .table-cell {
-fx-text-fill: -jr-hover-text;
}
+
.main-table .table-row-cell:matching-groups-not-search > .table-cell > .ikonli-font-icon {
-fx-icon-color: -jr-match-3-text-color;
}
+
.main-table .table-row-cell:matching-groups-not-search:hover > .table-cell > .ikonli-font-icon {
-fx-icon-color: -jr-hover-text;
}
+
.main-table .table-row-cell:matching-groups-not-search:odd {
-fx-background-color: -jr-match-3-odd;
}
+
.main-table .table-row-cell:matching-groups-not-search:selected,
.main-table .table-row-cell:matching-groups-not-search:focused,
.main-table .table-row-cell:matching-groups-not-search:focused:hover,
.main-table .table-row-cell:matching-groups-not-search:hover {
-fx-background-color: -jr-selected;
}
+
.main-table .table-row-cell:matching-groups-not-search:hover {
-fx-background-color: -jr-hover;
}
@@ -1700,35 +1730,45 @@ We want to have a look that matches our icons in the tool-bar */
.main-table .table-row-cell:not-matching-search-and-groups {
-fx-background-color: -jr-match-4-even;
}
+
.main-table .table-row-cell:not-matching-search-and-groups > .table-cell {
-fx-text-fill: -jr-match-4-text-color;
}
+
.main-table .table-row-cell:not-matching-search-and-groups:focused > .table-cell {
-fx-text-fill: -fx-focused-text-base-color;
}
+
.main-table .table-row-cell:not-matching-search-and-groups:focused:hover > .table-cell {
-fx-text-fill: -jr-maintable-focused-hover-text;
}
+
.main-table .table-row-cell:not-matching-search-and-groups:focused:hover > .table-cell > .ikonli-font-icon {
-fx-icon-color: -jr-maintable-focused-hover-text;
}
+
.main-table .table-row-cell:not-matching-search-and-groups:hover > .table-cell {
-fx-text-fill: -jr-hover-text;
}
+
.main-table .table-row-cell:not-matching-search-and-groups > .table-cell > .ikonli-font-icon {
-fx-icon-color: -jr-match-4-text-color;
}
+
.main-table.table-row-cell:not-matching-search-and-groups:hover > .table-cell > .ikonli-font-icon {
-fx-icon-color: -jr-hover-text;
}
+
.main-table .table-row-cell:not-matching-search-and-groups:odd {
-fx-background-color: -jr-match-4-odd;
}
+
.main-table .table-row-cell:not-matching-search-and-groups:selected,
.main-table .table-row-cell:not-matching-search-and-groups:focused,
.main-table .table-row-cell:not-matching-search-and-groups:focused:hover {
-fx-background-color: -jr-selected;
}
+
.main-table .table-row-cell:not-matching-search-and-groups:hover {
-fx-background-color: -jr-hover;
}
@@ -2192,8 +2232,7 @@ We want to have a look that matches our icons in the tool-bar */
#errorConsole .info-section .glyph-icon,
#errorConsole .exception .glyph-icon,
#errorConsole .output .glyph-icon,
-#errorConsole .log .glyph-icon
-{
+#errorConsole .log .glyph-icon {
-fx-font-size: 1.5em;
}
@@ -2990,8 +3029,8 @@ journalInfo .grid-cell-b {
.walkthrough-tooltip-title > *,
.walkthrough-title > * {
- -fx-text-fill: -jr-theme!important;
- -fx-fill: -jr-theme!important;
+ -fx-text-fill: -jr-theme !important;
+ -fx-fill: -jr-theme !important;
-fx-font-weight: bold;
-fx-font-size: 1.75em;
-fx-line-spacing: -0.25em;
diff --git a/jabgui/src/main/resources/org/jabref/gui/Dark.css b/jabgui/src/main/resources/org/jabref/gui/Dark.css
index b14371fceca..70d2e748157 100644
--- a/jabgui/src/main/resources/org/jabref/gui/Dark.css
+++ b/jabgui/src/main/resources/org/jabref/gui/Dark.css
@@ -60,7 +60,7 @@
-jr-drag-target-hover: -jr-accent;
-js-summary-text-color: derive(-fx-light-text-color, 70%);
- -js-summary-text-color-selected: derive( -fx-dark-text-color, 70%);
+ -js-summary-text-color-selected: derive(-fx-dark-text-color, 70%);
-jr-ai-message-user: derive(-jr-theme, -50%);
-jr-ai-message-ai: derive(-jr-theme, -75%);
@@ -105,11 +105,11 @@
-fx-background-color: -fx-control-inner-background;
}
-.table-row-cell:odd{
- -fx-background-color:#272b38;
+.table-row-cell:odd {
+ -fx-background-color: #272b38;
}
-.table-row-cell:even{
+.table-row-cell:even {
-fx-background-color: #212330;
}
diff --git a/jabgui/src/main/resources/org/jabref/gui/ai/components/aichat/AiChatComponent.fxml b/jabgui/src/main/resources/org/jabref/gui/ai/components/aichat/AiChatComponent.fxml
index 49a9123084a..bb12d52bf1a 100644
--- a/jabgui/src/main/resources/org/jabref/gui/ai/components/aichat/AiChatComponent.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/ai/components/aichat/AiChatComponent.fxml
@@ -2,6 +2,7 @@
+
@@ -11,24 +12,44 @@
-
-
+
-
+
-
-
+
+
-
-
-
-
-
+
+
+
+
+
@@ -37,12 +58,16 @@
styleClass="icon-button,narrow"
textAlignment="CENTER">
-
+
-
+
-
+
@@ -51,10 +76,12 @@
styleClass="icon-button,narrow"
textAlignment="CENTER">
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/ai/components/aichat/chathistory/ChatHistoryComponent.fxml b/jabgui/src/main/resources/org/jabref/gui/ai/components/aichat/chathistory/ChatHistoryComponent.fxml
index 0c6adb56cb9..5f61daaeb14 100644
--- a/jabgui/src/main/resources/org/jabref/gui/ai/components/aichat/chathistory/ChatHistoryComponent.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/ai/components/aichat/chathistory/ChatHistoryComponent.fxml
@@ -3,14 +3,19 @@
-
-
+
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/ai/components/aichat/chatmessage/ChatMessageComponent.fxml b/jabgui/src/main/resources/org/jabref/gui/ai/components/aichat/chatmessage/ChatMessageComponent.fxml
index 481f2c8d90b..8ddc2d64eab 100644
--- a/jabgui/src/main/resources/org/jabref/gui/ai/components/aichat/chatmessage/ChatMessageComponent.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/ai/components/aichat/chatmessage/ChatMessageComponent.fxml
@@ -5,33 +5,49 @@
+
-
-
-
-
+
+
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/ai/components/privacynotice/PrivacyNoticeComponent.fxml b/jabgui/src/main/resources/org/jabref/gui/ai/components/privacynotice/PrivacyNoticeComponent.fxml
index 485a1a3f545..41cf97b49be 100644
--- a/jabgui/src/main/resources/org/jabref/gui/ai/components/privacynotice/PrivacyNoticeComponent.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/ai/components/privacynotice/PrivacyNoticeComponent.fxml
@@ -8,19 +8,36 @@
-
-
-
+
+
+
-
-
-
+
+
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/ai/components/summary/SummaryShowingComponent.fxml b/jabgui/src/main/resources/org/jabref/gui/ai/components/summary/SummaryShowingComponent.fxml
index e0e0bfb6c66..90222cf4657 100644
--- a/jabgui/src/main/resources/org/jabref/gui/ai/components/summary/SummaryShowingComponent.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/ai/components/summary/SummaryShowingComponent.fxml
@@ -1,26 +1,48 @@
-
-
+
-
+
-
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/ai/components/util/errorstate/ErrorStateComponent.fxml b/jabgui/src/main/resources/org/jabref/gui/ai/components/util/errorstate/ErrorStateComponent.fxml
index 79353bcae55..4e4a6641414 100644
--- a/jabgui/src/main/resources/org/jabref/gui/ai/components/util/errorstate/ErrorStateComponent.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/ai/components/util/errorstate/ErrorStateComponent.fxml
@@ -5,24 +5,38 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/auximport/FromAuxDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/auximport/FromAuxDialog.fxml
index f8cc349381c..5f1bca0c9ec 100644
--- a/jabgui/src/main/resources/org/jabref/gui/auximport/FromAuxDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/auximport/FromAuxDialog.fxml
@@ -13,26 +13,41 @@
-
+
-
-
+
+
+ minWidth="20.0"
+ minHeight="20.0"
+ prefHeight="20.0"
+ prefWidth="20.0">
-
+
-
+
-
+
@@ -40,18 +55,32 @@
-
+
-
+
-
+
-
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/cleanup/CleanupPresetPanel.fxml b/jabgui/src/main/resources/org/jabref/gui/cleanup/CleanupPresetPanel.fxml
index f6421d75a4d..fd498aa2640 100644
--- a/jabgui/src/main/resources/org/jabref/gui/cleanup/CleanupPresetPanel.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/cleanup/CleanupPresetPanel.fxml
@@ -6,47 +6,82 @@
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/collab/DatabaseChangesResolverDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/collab/DatabaseChangesResolverDialog.fxml
index d1cf7444138..4a51a68e28e 100644
--- a/jabgui/src/main/resources/org/jabref/gui/collab/DatabaseChangesResolverDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/collab/DatabaseChangesResolverDialog.fxml
@@ -11,30 +11,66 @@
-
+
-
+
-
+
-
+
-
-
-
+
+
+
+ maxWidth="Infinity"
+ onAction="#askUserToResolveChange"
+ text="Merge.."/>
-
+
-
+
@@ -42,5 +78,6 @@
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/commonfxcontrols/CitationKeyPatternsPanel.fxml b/jabgui/src/main/resources/org/jabref/gui/commonfxcontrols/CitationKeyPatternsPanel.fxml
index 5f050fe5716..1ad8fa7187f 100644
--- a/jabgui/src/main/resources/org/jabref/gui/commonfxcontrols/CitationKeyPatternsPanel.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/commonfxcontrols/CitationKeyPatternsPanel.fxml
@@ -2,16 +2,35 @@
-
+
-
-
-
+
+
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/commonfxcontrols/FieldFormatterCleanupsPanel.fxml b/jabgui/src/main/resources/org/jabref/gui/commonfxcontrols/FieldFormatterCleanupsPanel.fxml
index 76b69546367..23cac6db02f 100644
--- a/jabgui/src/main/resources/org/jabref/gui/commonfxcontrols/FieldFormatterCleanupsPanel.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/commonfxcontrols/FieldFormatterCleanupsPanel.fxml
@@ -10,59 +10,107 @@
-
-
+
+
-
-
+
+
-
-
-
+
+
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/commonfxcontrols/SaveOrderConfigPanel.fxml b/jabgui/src/main/resources/org/jabref/gui/commonfxcontrols/SaveOrderConfigPanel.fxml
index 01a277628ba..e0d5d7a8191 100644
--- a/jabgui/src/main/resources/org/jabref/gui/commonfxcontrols/SaveOrderConfigPanel.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/commonfxcontrols/SaveOrderConfigPanel.fxml
@@ -7,42 +7,70 @@
-
+
-
+
-
+
-
-
-
+
+
+
-
+
-
-
-
-
+
+
+
+
-
-
+
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/consistency/ConsistencyCheckDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/consistency/ConsistencyCheckDialog.fxml
index 8aedf900583..504537bb009 100644
--- a/jabgui/src/main/resources/org/jabref/gui/consistency/ConsistencyCheckDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/consistency/ConsistencyCheckDialog.fxml
@@ -4,43 +4,65 @@
-
-
+
-
+
-
+
-
+
-
+
-
-
-
-
+
+
+
+
+ styleClass="icon-button"
+ prefHeight="20.0"
+ prefWidth="20.0"
+ alignment="CENTER_RIGHT">
-
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/consistency/ConsistencySymbolsDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/consistency/ConsistencySymbolsDialog.fxml
index bebeeb263eb..c141307bc11 100644
--- a/jabgui/src/main/resources/org/jabref/gui/consistency/ConsistencySymbolsDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/consistency/ConsistencySymbolsDialog.fxml
@@ -5,25 +5,36 @@
-
+
-
-
-
-
-
-
-
-
+
+
-
-
+
+
+
+
+
+
+
+
+
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/copyfiles/CopyFilesDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/copyfiles/CopyFilesDialog.fxml
index 26571396eca..d4c926084bf 100644
--- a/jabgui/src/main/resources/org/jabref/gui/copyfiles/CopyFilesDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/copyfiles/CopyFilesDialog.fxml
@@ -4,20 +4,36 @@
-
+
-
+
-
-
-
+
+
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/documentviewer/DocumentViewer.fxml b/jabgui/src/main/resources/org/jabref/gui/documentviewer/DocumentViewer.fxml
index 668181e7438..3130842f660 100644
--- a/jabgui/src/main/resources/org/jabref/gui/documentviewer/DocumentViewer.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/documentviewer/DocumentViewer.fxml
@@ -2,36 +2,59 @@
-
-
+
-
+
-
+
-
-
-
-
+
+
+
+
-
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/edit/ManageKeywordsDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/edit/ManageKeywordsDialog.fxml
index 609c6655bb9..bbb394518b7 100644
--- a/jabgui/src/main/resources/org/jabref/gui/edit/ManageKeywordsDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/edit/ManageKeywordsDialog.fxml
@@ -8,35 +8,63 @@
-
+
-
+
-
+
-
-
-
+
+
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/edit/ReplaceString.fxml b/jabgui/src/main/resources/org/jabref/gui/edit/ReplaceString.fxml
index 1800ac172fa..f725d5b9a58 100644
--- a/jabgui/src/main/resources/org/jabref/gui/edit/ReplaceString.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/edit/ReplaceString.fxml
@@ -11,56 +11,130 @@
-
+
-
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
+
-
-
+
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/edit/automaticfiededitor/AutomaticFieldEditorDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/edit/automaticfiededitor/AutomaticFieldEditorDialog.fxml
index ad0af7f0039..6f19d0969a8 100644
--- a/jabgui/src/main/resources/org/jabref/gui/edit/automaticfiededitor/AutomaticFieldEditorDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/edit/automaticfiededitor/AutomaticFieldEditorDialog.fxml
@@ -3,12 +3,21 @@
-
+
-
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/edit/automaticfiededitor/clearcontent/ClearContentTab.fxml b/jabgui/src/main/resources/org/jabref/gui/edit/automaticfiededitor/clearcontent/ClearContentTab.fxml
index 9a76ada3a3c..473491b6d8d 100644
--- a/jabgui/src/main/resources/org/jabref/gui/edit/automaticfiededitor/clearcontent/ClearContentTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/edit/automaticfiededitor/clearcontent/ClearContentTab.fxml
@@ -11,24 +11,54 @@
-
-
+
+
-
-
-
+
+
+
-
-
-
+
+
+
+ maxHeight="1.7976931348623157E308"
+ maxWidth="1.7976931348623157E308"
+ minHeight="-Infinity"
+ minWidth="-Infinity"
+ GridPane.hgrow="ALWAYS"
+ GridPane.rowSpan="2"
+ GridPane.vgrow="ALWAYS">
@@ -36,16 +66,30 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/edit/automaticfiededitor/copyormovecontent/CopyOrMoveFieldContentTab.fxml b/jabgui/src/main/resources/org/jabref/gui/edit/automaticfiededitor/copyormovecontent/CopyOrMoveFieldContentTab.fxml
index e1224762e4a..46f6a4ab2e9 100644
--- a/jabgui/src/main/resources/org/jabref/gui/edit/automaticfiededitor/copyormovecontent/CopyOrMoveFieldContentTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/edit/automaticfiededitor/copyormovecontent/CopyOrMoveFieldContentTab.fxml
@@ -9,31 +9,61 @@
-
-
-
-
+
+
+
-
-
+
+
-
-
-
-
+
+
+
+
-
+
-
-
-
+
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/edit/automaticfiededitor/editfieldcontent/EditFieldContentTab.fxml b/jabgui/src/main/resources/org/jabref/gui/edit/automaticfiededitor/editfieldcontent/EditFieldContentTab.fxml
index 72ddd2de3f1..b0dac3f1cb1 100644
--- a/jabgui/src/main/resources/org/jabref/gui/edit/automaticfiededitor/editfieldcontent/EditFieldContentTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/edit/automaticfiededitor/editfieldcontent/EditFieldContentTab.fxml
@@ -8,19 +8,38 @@
-
-
+
+
-
-
+
+
-
+
-
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/edit/automaticfiededitor/renamefield/RenameFieldTab.fxml b/jabgui/src/main/resources/org/jabref/gui/edit/automaticfiededitor/renamefield/RenameFieldTab.fxml
index ebd5968f9b4..d945ff10757 100644
--- a/jabgui/src/main/resources/org/jabref/gui/edit/automaticfiededitor/renamefield/RenameFieldTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/edit/automaticfiededitor/renamefield/RenameFieldTab.fxml
@@ -6,14 +6,26 @@
-
-
-
+
+
-
-
+
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/entryeditor/EntryEditor.fxml b/jabgui/src/main/resources/org/jabref/gui/entryeditor/EntryEditor.fxml
index bc5add45b73..e236f99caf7 100644
--- a/jabgui/src/main/resources/org/jabref/gui/entryeditor/EntryEditor.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/entryeditor/EntryEditor.fxml
@@ -11,89 +11,123 @@
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/entryeditor/fileannotationtab/FileAnnotationTab.fxml b/jabgui/src/main/resources/org/jabref/gui/entryeditor/fileannotationtab/FileAnnotationTab.fxml
index 77091fba84e..c1829bfa10d 100644
--- a/jabgui/src/main/resources/org/jabref/gui/entryeditor/fileannotationtab/FileAnnotationTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/entryeditor/fileannotationtab/FileAnnotationTab.fxml
@@ -13,20 +13,32 @@
-
-
+
+
-
-
-
+
+
+
-
+
@@ -35,19 +47,28 @@
-
+
-
+
-
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/errorconsole/ErrorConsole.fxml b/jabgui/src/main/resources/org/jabref/gui/errorconsole/ErrorConsole.fxml
index 69a34914e3e..a593e42e2be 100644
--- a/jabgui/src/main/resources/org/jabref/gui/errorconsole/ErrorConsole.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/errorconsole/ErrorConsole.fxml
@@ -5,23 +5,40 @@
-
+
-
+
-
-
-
-
+
+
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/exporter/CreateModifyExporterDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/exporter/CreateModifyExporterDialog.fxml
index e01fb6c255c..b48ca2f1d72 100644
--- a/jabgui/src/main/resources/org/jabref/gui/exporter/CreateModifyExporterDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/exporter/CreateModifyExporterDialog.fxml
@@ -12,44 +12,84 @@
-
+
-
+
-
-
+
+
-
-
-
+
+
+
-
-
+
+
-
-
-
-
+
+
+
+
-
+
-
+
-
-
+
+
-
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/externalfiles/UnlinkedFilesDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/externalfiles/UnlinkedFilesDialog.fxml
index c6ed1dbea01..9adde27feb5 100644
--- a/jabgui/src/main/resources/org/jabref/gui/externalfiles/UnlinkedFilesDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/externalfiles/UnlinkedFilesDialog.fxml
@@ -22,88 +22,174 @@
-
+
-
+
-
-
-
+
+
+
-
-
+
+
-
-
-
+
+
+
-
+
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
+
-
-
+
+
-
-
-
+
+
+
-
-
+
+
-
-
-
+
+
+
-
+
-
-
-
+
+
+
-
-
+
+
-
+
-
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/CitationCountEditor.fxml b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/CitationCountEditor.fxml
index 89f7f29bffa..fd605100035 100644
--- a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/CitationCountEditor.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/CitationCountEditor.fxml
@@ -2,21 +2,31 @@
-
-
-
-
+
+
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/CitationKeyEditor.fxml b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/CitationKeyEditor.fxml
index fcb4b34414c..80589840c07 100644
--- a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/CitationKeyEditor.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/CitationKeyEditor.fxml
@@ -3,8 +3,14 @@
-
-
-
+
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/DateEditor.fxml b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/DateEditor.fxml
index 66e5a9f23f0..0cb8063dd60 100644
--- a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/DateEditor.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/DateEditor.fxml
@@ -2,8 +2,15 @@
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/ICORERankingEditor.fxml b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/ICORERankingEditor.fxml
index a6c22cc1958..166008a4d99 100644
--- a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/ICORERankingEditor.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/ICORERankingEditor.fxml
@@ -4,21 +4,27 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/ISSNEditor.fxml b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/ISSNEditor.fxml
index 7358de4c2b1..490559d11c0 100644
--- a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/ISSNEditor.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/ISSNEditor.fxml
@@ -5,24 +5,31 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/JournalEditor.fxml b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/JournalEditor.fxml
index 3e510e84fd9..df7a57a1dba 100644
--- a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/JournalEditor.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/JournalEditor.fxml
@@ -6,27 +6,35 @@
-
-
+
+
-
+
-
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/KeywordsEditor.fxml b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/KeywordsEditor.fxml
index 0f96aca52a8..9e91603edaf 100644
--- a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/KeywordsEditor.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/KeywordsEditor.fxml
@@ -2,7 +2,12 @@
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/LinkedEntriesEditor.fxml b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/LinkedEntriesEditor.fxml
index 10d87fdc46e..793f7291d0e 100644
--- a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/LinkedEntriesEditor.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/LinkedEntriesEditor.fxml
@@ -2,7 +2,12 @@
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/LinkedFilesEditor.fxml b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/LinkedFilesEditor.fxml
index cbe2d08cc96..827a74ad63c 100644
--- a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/LinkedFilesEditor.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/LinkedFilesEditor.fxml
@@ -8,35 +8,55 @@
-
-
+
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/OwnerEditor.fxml b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/OwnerEditor.fxml
index ee178badcb9..f75fe6d9c56 100644
--- a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/OwnerEditor.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/OwnerEditor.fxml
@@ -5,16 +5,24 @@
-
-
+
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/UrlEditor.fxml b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/UrlEditor.fxml
index 99f8b179e7d..72d0f95e6fe 100644
--- a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/UrlEditor.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/UrlEditor.fxml
@@ -5,16 +5,25 @@
-
-
-
+
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/identifier/IdentifierEditor.fxml b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/identifier/IdentifierEditor.fxml
index 03643fa2e03..ccc973a4901 100644
--- a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/identifier/IdentifierEditor.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/identifier/IdentifierEditor.fxml
@@ -7,46 +7,64 @@
-
-
-
+
+
-
+
-
-
+
-
+
-
-
-
+
+
-
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/journalinfo/JournalInfo.fxml b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/journalinfo/JournalInfo.fxml
index e822c9d6632..cb680e34dae 100644
--- a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/journalinfo/JournalInfo.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/journalinfo/JournalInfo.fxml
@@ -10,136 +10,266 @@
-
-
+
+
-
+
-
+
-
-
-
-
+
+
+
+
-
-
+
+
-
-
+
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/optioneditors/OptionEditor.fxml b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/optioneditors/OptionEditor.fxml
index 52f4979fb6b..7dc0448dd08 100644
--- a/jabgui/src/main/resources/org/jabref/gui/fieldeditors/optioneditors/OptionEditor.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/fieldeditors/optioneditors/OptionEditor.fxml
@@ -2,8 +2,16 @@
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/git/GitCommitDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/git/GitCommitDialog.fxml
index 3fe7de19dc5..4147fcb8f33 100644
--- a/jabgui/src/main/resources/org/jabref/gui/git/GitCommitDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/git/GitCommitDialog.fxml
@@ -15,17 +15,25 @@
-
+
-
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/git/GitShareToGitHubDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/git/GitShareToGitHubDialog.fxml
index 9be9bc20f08..522d8626844 100644
--- a/jabgui/src/main/resources/org/jabref/gui/git/GitShareToGitHubDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/git/GitShareToGitHubDialog.fxml
@@ -25,12 +25,18 @@
vgap="10.0"
prefWidth="568.0">
-
+
-
-
-
+
+
+
-
-
+
@@ -56,11 +65,21 @@
GridPane.rowIndex="1"
GridPane.columnIndex="1"/>
-
-
-
+
+
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/groups/GroupDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/groups/GroupDialog.fxml
index 324ed9ca48a..613c9945bc7 100644
--- a/jabgui/src/main/resources/org/jabref/gui/groups/GroupDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/groups/GroupDialog.fxml
@@ -16,127 +16,198 @@
-
+
-
-
-
+
+
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+ layoutX="10.0"
+ layoutY="10.0"
+ minWidth="130.0"
+ maxWidth="130.0"
+ prefWidth="130.0"
+ spacing="10.0">
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
-
+
+
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
@@ -144,43 +215,59 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
@@ -188,6 +275,9 @@
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/help/AboutDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/help/AboutDialog.fxml
index 6e0cbfa4bf8..fe2f7da2059 100644
--- a/jabgui/src/main/resources/org/jabref/gui/help/AboutDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/help/AboutDialog.fxml
@@ -15,83 +15,151 @@
-
+
-
+
-
-
+
+
-
+
-
-
+
-
-
+
+
-
-
+
+
-
-
-
-
+
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
-
+
+
+
-
+
-
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/importer/GenerateEntryFromIdDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/importer/GenerateEntryFromIdDialog.fxml
index 24567376a72..53a8585e021 100644
--- a/jabgui/src/main/resources/org/jabref/gui/importer/GenerateEntryFromIdDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/importer/GenerateEntryFromIdDialog.fxml
@@ -5,12 +5,51 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/importer/ImportCustomEntryTypesDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/importer/ImportCustomEntryTypesDialog.fxml
index 37a5a1ba3db..64eb567b4c0 100644
--- a/jabgui/src/main/resources/org/jabref/gui/importer/ImportCustomEntryTypesDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/importer/ImportCustomEntryTypesDialog.fxml
@@ -5,20 +5,27 @@
-
+
-
+
-
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/importer/ImportEntriesDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/importer/ImportEntriesDialog.fxml
index cfd2c561185..19b9cd09318 100644
--- a/jabgui/src/main/resources/org/jabref/gui/importer/ImportEntriesDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/importer/ImportEntriesDialog.fxml
@@ -13,63 +13,118 @@
-
+
-
-
+
+
-
-
+
+
-
+
-
+
-
-
-
+
+
+
-
+
-
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
-
+
+
+
-
-
-
-
+
+
+
+
-
-
+
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/integrity/BibLogSettingsPane.fxml b/jabgui/src/main/resources/org/jabref/gui/integrity/BibLogSettingsPane.fxml
index 5b9355a5730..c51301c0d07 100644
--- a/jabgui/src/main/resources/org/jabref/gui/integrity/BibLogSettingsPane.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/integrity/BibLogSettingsPane.fxml
@@ -4,7 +4,6 @@
-
-
-
-
+
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/integrity/IntegrityCheckDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/integrity/IntegrityCheckDialog.fxml
index eec9f3946c9..078083981c3 100644
--- a/jabgui/src/main/resources/org/jabref/gui/integrity/IntegrityCheckDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/integrity/IntegrityCheckDialog.fxml
@@ -3,34 +3,69 @@
-
-
-
+
-
-
+
+
-
-
-
+
+
+
-
+
-
-
-
-
-
+
+
+
+
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/libraryproperties/LibraryProperties.fxml b/jabgui/src/main/resources/org/jabref/gui/libraryproperties/LibraryProperties.fxml
index b3eaec62c19..5f4bee2a079 100644
--- a/jabgui/src/main/resources/org/jabref/gui/libraryproperties/LibraryProperties.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/libraryproperties/LibraryProperties.fxml
@@ -3,12 +3,21 @@
-
+
-
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/libraryproperties/constants/ConstantsProperties.fxml b/jabgui/src/main/resources/org/jabref/gui/libraryproperties/constants/ConstantsProperties.fxml
index 0ea11f1d4c9..5cd01cfef3e 100644
--- a/jabgui/src/main/resources/org/jabref/gui/libraryproperties/constants/ConstantsProperties.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/libraryproperties/constants/ConstantsProperties.fxml
@@ -8,38 +8,66 @@
-
-
-
-
+
+
+
+
-
+
-
+
-
+
-
-
-
+
+
+
-
+
-
-
+
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/libraryproperties/contentselectors/ContentSelector.fxml b/jabgui/src/main/resources/org/jabref/gui/libraryproperties/contentselectors/ContentSelector.fxml
index 382da4d7050..a6d4202e8c9 100644
--- a/jabgui/src/main/resources/org/jabref/gui/libraryproperties/contentselectors/ContentSelector.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/libraryproperties/contentselectors/ContentSelector.fxml
@@ -6,39 +6,64 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
+
-
+
-
+
-
-
-
-
-
+
+
+
+
+
-
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/libraryproperties/general/GeneralProperties.fxml b/jabgui/src/main/resources/org/jabref/gui/libraryproperties/general/GeneralProperties.fxml
index c99dd92bca4..c2060d1901a 100644
--- a/jabgui/src/main/resources/org/jabref/gui/libraryproperties/general/GeneralProperties.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/libraryproperties/general/GeneralProperties.fxml
@@ -10,13 +10,19 @@
-
-
+
+
-
+
@@ -29,107 +35,172 @@
-
+
-
+ GridPane.columnIndex="0"
+ GridPane.rowIndex="1"/>
+
-
+
-
+
-
+
-
+
+ styleClass="icon-button,narrow"
+ prefHeight="20.0"
+ prefWidth="20.0"
+ GridPane.columnIndex="3"
+ GridPane.rowIndex="1">
-
+
-
+
-
+ GridPane.columnIndex="0"
+ GridPane.rowIndex="2"/>
+
-
+
-
+
-
+
-
+
+ styleClass="icon-button,narrow"
+ prefHeight="20.0"
+ prefWidth="20.0"
+ GridPane.columnIndex="3"
+ GridPane.rowIndex="2">
-
+
-
+
-
+ GridPane.columnIndex="0"
+ GridPane.rowIndex="3"/>
+
-
+
-
+
-
+
-
+
+ styleClass="icon-button,narrow"
+ prefHeight="20.0"
+ prefWidth="20.0"
+ GridPane.columnIndex="3"
+ GridPane.rowIndex="3">
-
+
-
+
-
+
-
+ GridPane.columnIndex="0"
+ GridPane.rowIndex="5"/>
+
-
+ GridPane.columnIndex="0"
+ GridPane.rowIndex="6"/>
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/libraryproperties/keypattern/KeyPatternProperties.fxml b/jabgui/src/main/resources/org/jabref/gui/libraryproperties/keypattern/KeyPatternProperties.fxml
index c8fcc23c723..7bdc313f913 100644
--- a/jabgui/src/main/resources/org/jabref/gui/libraryproperties/keypattern/KeyPatternProperties.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/libraryproperties/keypattern/KeyPatternProperties.fxml
@@ -7,19 +7,31 @@
-
-
-
-
+
+
+
+
-
-
-
+
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/libraryproperties/preamble/PreambleProperties.fxml b/jabgui/src/main/resources/org/jabref/gui/libraryproperties/preamble/PreambleProperties.fxml
index 1b0af2fe228..31561fac296 100644
--- a/jabgui/src/main/resources/org/jabref/gui/libraryproperties/preamble/PreambleProperties.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/libraryproperties/preamble/PreambleProperties.fxml
@@ -3,9 +3,17 @@
-
-
-
+
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/libraryproperties/saving/SavingProperties.fxml b/jabgui/src/main/resources/org/jabref/gui/libraryproperties/saving/SavingProperties.fxml
index 03d828fb2ec..26179db1ebf 100644
--- a/jabgui/src/main/resources/org/jabref/gui/libraryproperties/saving/SavingProperties.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/libraryproperties/saving/SavingProperties.fxml
@@ -6,19 +6,28 @@
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/linkedfile/LinkedFileEditDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/linkedfile/LinkedFileEditDialog.fxml
index e0f29378b21..de924dac0af 100644
--- a/jabgui/src/main/resources/org/jabref/gui/linkedfile/LinkedFileEditDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/linkedfile/LinkedFileEditDialog.fxml
@@ -10,15 +10,27 @@
-
+
-
+
-
-
-
+
+
+
@@ -28,30 +40,52 @@
-
-
+
+ prefHeight="20.0"
+ prefWidth="20.0"
+ GridPane.columnIndex="2">
-
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/mergeentries/multiwaymerge/MultiMergeEntries.fxml b/jabgui/src/main/resources/org/jabref/gui/mergeentries/multiwaymerge/MultiMergeEntries.fxml
index 37c26bc136e..88898873817 100644
--- a/jabgui/src/main/resources/org/jabref/gui/mergeentries/multiwaymerge/MultiMergeEntries.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/mergeentries/multiwaymerge/MultiMergeEntries.fxml
@@ -10,45 +10,88 @@
-
+
-
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
-
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/mergeentries/threewaymerge/toolbar/ThreeWayMergeToolbar.fxml b/jabgui/src/main/resources/org/jabref/gui/mergeentries/threewaymerge/toolbar/ThreeWayMergeToolbar.fxml
index 1b78da8e6cf..30f7259ee63 100644
--- a/jabgui/src/main/resources/org/jabref/gui/mergeentries/threewaymerge/toolbar/ThreeWayMergeToolbar.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/mergeentries/threewaymerge/toolbar/ThreeWayMergeToolbar.fxml
@@ -11,45 +11,102 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/newentry/NewEntry.fxml b/jabgui/src/main/resources/org/jabref/gui/newentry/NewEntry.fxml
index b778bbc45a5..0501ae86582 100644
--- a/jabgui/src/main/resources/org/jabref/gui/newentry/NewEntry.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/newentry/NewEntry.fxml
@@ -14,127 +14,241 @@
+
-
-
+
-
-
+
+
-
-
+
+
-
+
+
+
-
-
+
+
+
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
+
+
-
-
+
+
+
+
+
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
-
-
+
+
+
+
+
+
+
-
-
+
+
+
+
-
+
-
+
+
+
-
-
+
+
+
+
+
+
-
-
+
+
-
+
-
+
-
+
+
+
-
+
+
+
-
+
-
+
+
+
-
-
+
+
+
+
+
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/openoffice/AdvancedCiteDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/openoffice/AdvancedCiteDialog.fxml
index 582431c5913..85e48fadc9f 100644
--- a/jabgui/src/main/resources/org/jabref/gui/openoffice/AdvancedCiteDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/openoffice/AdvancedCiteDialog.fxml
@@ -7,25 +7,42 @@
-
+
-
+
-
-
-
-
+
+
+
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/openoffice/ManageCitationsDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/openoffice/ManageCitationsDialog.fxml
index b76aabee96e..4d6fccf48e7 100644
--- a/jabgui/src/main/resources/org/jabref/gui/openoffice/ManageCitationsDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/openoffice/ManageCitationsDialog.fxml
@@ -4,19 +4,35 @@
-
+
-
+
-
-
+
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/openoffice/ModifyCSLBibliographyPropertiesDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/openoffice/ModifyCSLBibliographyPropertiesDialog.fxml
index 76938fa567a..b27050ae4ce 100644
--- a/jabgui/src/main/resources/org/jabref/gui/openoffice/ModifyCSLBibliographyPropertiesDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/openoffice/ModifyCSLBibliographyPropertiesDialog.fxml
@@ -5,18 +5,42 @@
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/openoffice/StyleSelectDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/openoffice/StyleSelectDialog.fxml
index ec629bedada..96863b35cf6 100644
--- a/jabgui/src/main/resources/org/jabref/gui/openoffice/StyleSelectDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/openoffice/StyleSelectDialog.fxml
@@ -12,77 +12,155 @@
-
+
-
-
-
+
+
+
-
+
-
-
-
-
+
+
+
+
-
-
+
+
-
-
-
+
+
+
-
+
-
-
+
+
-
-
+
+
-
+
-
-
-
-
+
+
+
+
-
+
-
-
-
-
+
+
+
+
-
+
-
-
+
+
-
+
-
+
-
-
+
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/PreferencesDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/PreferencesDialog.fxml
index 76088a729df..53617ad9224 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/PreferencesDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/PreferencesDialog.fxml
@@ -13,69 +13,119 @@
-
+
-
+
-
+
-
+
-
-
-
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/PreferencesFilterDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/PreferencesFilterDialog.fxml
index eae2550fb5e..0123a06577d 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/PreferencesFilterDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/PreferencesFilterDialog.fxml
@@ -11,8 +11,12 @@
-
+
@@ -23,21 +27,34 @@
-
+
-
+
-
+
-
-
-
-
+
+
+
+
@@ -46,5 +63,6 @@
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/ai/AiTab.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/ai/AiTab.fxml
index d32fe92c2ce..7e1079bbd32 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/ai/AiTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/ai/AiTab.fxml
@@ -12,15 +12,14 @@
+
+
-
-
-
-
+
-
-
+
+
@@ -110,21 +113,25 @@
+ GridPane.rowIndex="0"
+ GridPane.columnIndex="0"/>
+ GridPane.rowIndex="0"
+ GridPane.columnIndex="1"/>
+ GridPane.rowIndex="1"
+ GridPane.columnIndex="0"/>
+ GridPane.rowIndex="1"
+ GridPane.columnIndex="1"/>
@@ -144,7 +151,8 @@
-
+
-
+
-
-
+
+
-
+
@@ -191,7 +207,9 @@
HBox.hgrow="ALWAYS"/>
-
+
@@ -200,7 +218,9 @@
HBox.hgrow="ALWAYS"/>
-
+
@@ -209,7 +229,9 @@
HBox.hgrow="ALWAYS"/>
-
+
@@ -218,7 +240,9 @@
HBox.hgrow="ALWAYS"/>
-
+
@@ -227,7 +251,9 @@
HBox.hgrow="ALWAYS"/>
-
+
@@ -259,57 +285,76 @@
prefWidth="20.0"/>
-
+
-
+ text="%System message for chatting"
+ closable="false">
+
-
+ text="%User message for chatting"
+ closable="false">
+
-
+ text="%System message for summarization of a chunk"
+ closable="false">
+
-
+ text="%User message for summarization of a chunk"
+ closable="false">
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
@@ -319,15 +364,17 @@
maxWidth="Infinity"
HBox.hgrow="ALWAYS"/>
-
-
-
+
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/autocompletion/AutoCompletionTab.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/autocompletion/AutoCompletionTab.fxml
index 09ac50e21ee..767258157e0 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/autocompletion/AutoCompletionTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/autocompletion/AutoCompletionTab.fxml
@@ -8,40 +8,72 @@
-
+
-
-
+
+
-
+
-
+
-
-
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/citationkeypattern/CitationKeyPatternTab.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/citationkeypattern/CitationKeyPatternTab.fxml
index f280eca3167..7237bbb57d8 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/citationkeypattern/CitationKeyPatternTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/citationkeypattern/CitationKeyPatternTab.fxml
@@ -13,81 +13,137 @@
-
+
-
+
-
+
-
+
-
-
-
+
+
+
-
+
-
+
-
+ GridPane.columnIndex="0"
+ GridPane.columnSpan="3"
+ GridPane.rowIndex="2">
+
-
-
+
+
-
-
-
-
-
+
+
+
+
+
-
-
+ GridPane.columnIndex="0"
+ GridPane.rowIndex="7"/>
+
+
-
+
-
+
-
+ GridPane.columnIndex="0"
+ GridPane.rowIndex="8"/>
+
-
+
-
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/customentrytypes/CustomEntryTypesTab.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/customentrytypes/CustomEntryTypesTab.fxml
index 5dbb82e844b..1990561768d 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/customentrytypes/CustomEntryTypesTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/customentrytypes/CustomEntryTypesTab.fxml
@@ -11,74 +11,122 @@
-
-
+
+
-
-
-
+
+
+
-
-
+
+
-
+
-
+
+ prefHeight="20.0"
+ prefWidth="20.0"
+ styleClass="icon-button,narrow"
+ onAction="#addEntryType">
-
+
-
+
-
-
-
+
+
+
-
-
-
-
+
+
+
+
-
+
-
-
+
+
+ prefHeight="20.0"
+ prefWidth="20.0"
+ styleClass="icon-button,narrow"
+ onAction="#addNewField">
-
+
-
+
-
-
+
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/customexporter/CustomExporterTab.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/customexporter/CustomExporterTab.fxml
index 504d4adbb7f..1b57c1af66a 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/customexporter/CustomExporterTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/customexporter/CustomExporterTab.fxml
@@ -7,37 +7,59 @@
-
+
-
+
-
+
-
-
-
+
+
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/customimporter/CustomImporterTab.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/customimporter/CustomImporterTab.fxml
index bddf9d4ed68..c9b12fcd336 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/customimporter/CustomImporterTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/customimporter/CustomImporterTab.fxml
@@ -7,32 +7,52 @@
-
+
-
+
-
+
-
-
-
+
+
+
-
+
-
-
+
+
-
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/entry/EntryTab.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/entry/EntryTab.fxml
index a7f212cf8fc..ba89a21af2d 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/entry/EntryTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/entry/EntryTab.fxml
@@ -9,23 +9,39 @@
-
-
+
+
-
+
-
+
-
+
-
-
-
-
+
+
+
+
@@ -35,25 +51,44 @@
-
-
-
+
+
+
-
-
-
-
-
+
+
+
+
+
-
+
-
+
-
-
-
+
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/entryeditor/EntryEditorTab.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/entryeditor/EntryEditorTab.fxml
index 84d8d5836dd..7c0b7e974b2 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/entryeditor/EntryEditorTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/entryeditor/EntryEditorTab.fxml
@@ -10,54 +10,94 @@
-
-
+
+
-
-
+
+
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
+
-
+
-
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/export/ExportTab.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/export/ExportTab.fxml
index c5b107c39c9..35da503d09f 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/export/ExportTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/export/ExportTab.fxml
@@ -3,11 +3,17 @@
-
-
+
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/external/ExternalTab.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/external/ExternalTab.fxml
index 8db73e2b093..15b6c1e413f 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/external/ExternalTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/external/ExternalTab.fxml
@@ -12,109 +12,197 @@
-
-
-
-
+
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
+
+
-
+
-
+
-
-
+
+
-
+ prefHeight="20.0"
+ prefWidth="20.0"
+ GridPane.columnIndex="2"
+ GridPane.rowIndex="2"/>
+
-
+
-
+
-
-
+
+
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
+
-
+ prefHeight="20.0"
+ prefWidth="20.0"
+ GridPane.columnIndex="2">
-
+
-
+
-
-
+
+
-
+
-
+ prefHeight="20.0"
+ prefWidth="20.0"
+ GridPane.columnIndex="2"
+ GridPane.rowIndex="1">
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/externalfiletypes/EditExternalFileTypeEntryDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/externalfiletypes/EditExternalFileTypeEntryDialog.fxml
index d197a829648..ca5f5ca3879 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/externalfiletypes/EditExternalFileTypeEntryDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/externalfiletypes/EditExternalFileTypeEntryDialog.fxml
@@ -10,42 +10,119 @@
-
+
-
-
-
-
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/externalfiletypes/ExternalFileTypesTab.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/externalfiletypes/ExternalFileTypesTab.fxml
index 040bb446dc7..7ac24bb5ccb 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/externalfiletypes/ExternalFileTypesTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/externalfiletypes/ExternalFileTypesTab.fxml
@@ -7,33 +7,65 @@
-
-
-
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
+
-
-
+
+
-
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/general/GeneralTab.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/general/GeneralTab.fxml
index 6a4f71c5a36..9453b7595dd 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/general/GeneralTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/general/GeneralTab.fxml
@@ -14,38 +14,75 @@
-
-
-
+
+
+
-
-
-
+
+
+
-
+
-
+ GridPane.rowIndex="1"
+ GridPane.columnIndex="0"/>
+
-
-
-
-
-
+ GridPane.rowIndex="2"
+ GridPane.columnIndex="0"/>
+
+
+
+
+
-
+
-
+
@@ -53,80 +90,151 @@
-
-
+
+
-
+
-
+
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
-
-
+
+
-
-
+
+
-
+
-
-
-
-
+
+
+
+
-
-
-
+
+
+
+ prefHeight="20.0"
+ prefWidth="20.0"
+ GridPane.columnIndex="2">
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/groups/GroupsTab.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/groups/GroupsTab.fxml
index dafe1478ab5..863a0c97fc1 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/groups/GroupsTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/groups/GroupsTab.fxml
@@ -5,19 +5,33 @@
-
+
-
+
-
+
-
-
-
-
-
+
+
+
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/journals/JournalAbbreviationsTab.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/journals/JournalAbbreviationsTab.fxml
index f909ee6a3d6..5e61d63a372 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/journals/JournalAbbreviationsTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/journals/JournalAbbreviationsTab.fxml
@@ -13,76 +13,134 @@
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
-
-
-
+
+
+
+
-
+
-
-
+
+
-
-
+
+
-
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/keybindings/KeyBindingsTab.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/keybindings/KeyBindingsTab.fxml
index f063249290b..852e00fb56f 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/keybindings/KeyBindingsTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/keybindings/KeyBindingsTab.fxml
@@ -10,42 +10,82 @@
-
+
-
+
-
-
+
+
-
+
-
+
-
-
-
-
+
+
+
+
-
+
-
-
-
+
+
+
-
-
-
+
+
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/linkedfiles/LinkedFilesTab.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/linkedfiles/LinkedFilesTab.fxml
index 947d1bdb7ae..51e95631e73 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/linkedfiles/LinkedFilesTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/linkedfiles/LinkedFilesTab.fxml
@@ -14,77 +14,145 @@
-
+
-
-
-
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+ prefHeight="20.0"
+ prefWidth="20.0"
+ GridPane.columnIndex="2">
-
+
-
+
-
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
+
+
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
+
-
-
+
+
-
-
-
+
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/nameformatter/NameFormatterTab.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/nameformatter/NameFormatterTab.fxml
index 065fa80fae7..467a9eef8a3 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/nameformatter/NameFormatterTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/nameformatter/NameFormatterTab.fxml
@@ -9,40 +9,74 @@
-
-
+
+
-
-
+
+
-
-
-
+
+
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/network/NetworkTab.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/network/NetworkTab.fxml
index 01a70fd72ec..b7416f3a059 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/network/NetworkTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/network/NetworkTab.fxml
@@ -14,43 +14,111 @@
-
-
-
-
+
+
+
+
-
-
+
+
-
-
-
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
@@ -125,14 +193,19 @@
prefWidth="136.0"
text="%Version"/>
-
-
-
+
+
+
-
-
-
+
+
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/preview/PreviewTab.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/preview/PreviewTab.fxml
index 7cd8b8ae2c3..e3533737385 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/preview/PreviewTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/preview/PreviewTab.fxml
@@ -15,81 +15,137 @@
-
-
-
-
-
+
+
+
+
+
-
-
-
-
+
+
+
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
-
-
+
+
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/protectedterms/ProtectedTermsTab.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/protectedterms/ProtectedTermsTab.fxml
index 2e9f4383c88..66e35465e3f 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/protectedterms/ProtectedTermsTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/protectedterms/ProtectedTermsTab.fxml
@@ -7,33 +7,62 @@
-
+
-
+
-
+
-
-
-
-
-
+
+
+
+
+
-
+
-
-
+
+
-
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/table/TableTab.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/table/TableTab.fxml
index 0ff264f489f..e5bab38600a 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/table/TableTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/table/TableTab.fxml
@@ -13,105 +13,180 @@
-
+
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
-
+
-
-
+
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
+
-
+
-
-
-
-
+
+
+
+
-
+
-
-
-
+
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/websearch/ApiKeyDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/websearch/ApiKeyDialog.fxml
index c1243bccf28..1f82853b7c3 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/websearch/ApiKeyDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/websearch/ApiKeyDialog.fxml
@@ -10,20 +10,30 @@
-
-
+
-
+
-
+
-
-
+
+
-
+
@@ -31,6 +41,8 @@
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/websearch/WebSearchTab.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/websearch/WebSearchTab.fxml
index cf9d45183de..dc30566355c 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/websearch/WebSearchTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/websearch/WebSearchTab.fxml
@@ -7,46 +7,83 @@
-
-
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
+
+
+
-
+
-
+
-
+
-
+
-
-
-
-
+
+
+
+
-
-
-
+
+
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/preferences/xmp/XmpPrivacyTab.fxml b/jabgui/src/main/resources/org/jabref/gui/preferences/xmp/XmpPrivacyTab.fxml
index 0dcf73c33d9..68a5720ca3a 100644
--- a/jabgui/src/main/resources/org/jabref/gui/preferences/xmp/XmpPrivacyTab.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/preferences/xmp/XmpPrivacyTab.fxml
@@ -10,34 +10,60 @@
-
-
-
-
+
+
+
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/search/GlobalSearchResultDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/search/GlobalSearchResultDialog.fxml
index 7d96e864305..c1181ef5d18 100644
--- a/jabgui/src/main/resources/org/jabref/gui/search/GlobalSearchResultDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/search/GlobalSearchResultDialog.fxml
@@ -7,20 +7,33 @@
-
+
-
-
+
+
-
+
-
+
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/shared/SharedDatabaseLoginDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/shared/SharedDatabaseLoginDialog.fxml
index ed0ca01a216..33f5707eb3f 100644
--- a/jabgui/src/main/resources/org/jabref/gui/shared/SharedDatabaseLoginDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/shared/SharedDatabaseLoginDialog.fxml
@@ -13,76 +13,183 @@
-
+
-
+
-
+
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
+
+
-
-
-
+
+
+
@@ -91,21 +198,43 @@
-
+
-
-
+
+
-
-
+
+
-
-
-
+
+
+
@@ -115,7 +244,11 @@
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/slr/ManageStudyDefinition.fxml b/jabgui/src/main/resources/org/jabref/gui/slr/ManageStudyDefinition.fxml
index e5ca0032d28..3e2e8f32de7 100644
--- a/jabgui/src/main/resources/org/jabref/gui/slr/ManageStudyDefinition.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/slr/ManageStudyDefinition.fxml
@@ -271,7 +271,10 @@
-
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/texparser/ParseLatexDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/texparser/ParseLatexDialog.fxml
index 05f86c531ed..d45cd77b916 100644
--- a/jabgui/src/main/resources/org/jabref/gui/texparser/ParseLatexDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/texparser/ParseLatexDialog.fxml
@@ -9,33 +9,56 @@
-
+
-
-
-
+
+
+
-
+
-
-
+
-
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/texparser/ParseLatexResult.fxml b/jabgui/src/main/resources/org/jabref/gui/texparser/ParseLatexResult.fxml
index bcdf3818af4..45c0dddec40 100644
--- a/jabgui/src/main/resources/org/jabref/gui/texparser/ParseLatexResult.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/texparser/ParseLatexResult.fxml
@@ -7,16 +7,29 @@
-
+
-
-
-
+
+
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/welcome/components/ThemeWireFrame.fxml b/jabgui/src/main/resources/org/jabref/gui/welcome/components/ThemeWireFrame.fxml
index 250e8e4126a..18980ec24d7 100644
--- a/jabgui/src/main/resources/org/jabref/gui/welcome/components/ThemeWireFrame.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/welcome/components/ThemeWireFrame.fxml
@@ -1,130 +1,228 @@
+
-
-
+
-
-
-
-
-
+
+
+
+
+
-
+
-
-
-
+
+
+
-
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
+
+
+
-
-
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
+
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/welcome/quicksettings/EntryTableConfigurationDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/welcome/quicksettings/EntryTableConfigurationDialog.fxml
index 6955eabb4b6..337af0ec25b 100644
--- a/jabgui/src/main/resources/org/jabref/gui/welcome/quicksettings/EntryTableConfigurationDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/welcome/quicksettings/EntryTableConfigurationDialog.fxml
@@ -7,20 +7,29 @@
-
+
-
+
-
+ wrapText="true"
+ HBox.hgrow="ALWAYS"/>
+
-
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/welcome/quicksettings/LargeLibraryOptimizationDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/welcome/quicksettings/LargeLibraryOptimizationDialog.fxml
index d80ba6596ee..93899341e83 100644
--- a/jabgui/src/main/resources/org/jabref/gui/welcome/quicksettings/LargeLibraryOptimizationDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/welcome/quicksettings/LargeLibraryOptimizationDialog.fxml
@@ -7,31 +7,48 @@
-
+
-
+
-
+ wrapText="true"
+ HBox.hgrow="ALWAYS"/>
+
-
-
-
-
-
+
+
+
+
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/welcome/quicksettings/MainFileDirectoryDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/welcome/quicksettings/MainFileDirectoryDialog.fxml
index 411acd8b32e..ae42fa47d5b 100644
--- a/jabgui/src/main/resources/org/jabref/gui/welcome/quicksettings/MainFileDirectoryDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/welcome/quicksettings/MainFileDirectoryDialog.fxml
@@ -1,7 +1,7 @@
-
+
@@ -10,32 +10,43 @@
-
-
+
-
+
-
+ wrapText="true"
+ HBox.hgrow="ALWAYS"/>
+
-
-
+
+
-
+
-
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/welcome/quicksettings/OnlineServicesDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/welcome/quicksettings/OnlineServicesDialog.fxml
index ebf305245e2..8a3383bae5f 100644
--- a/jabgui/src/main/resources/org/jabref/gui/welcome/quicksettings/OnlineServicesDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/welcome/quicksettings/OnlineServicesDialog.fxml
@@ -1,6 +1,6 @@
-
+
@@ -9,42 +9,63 @@
-
-
+
-
+
-
+ wrapText="true"
+ HBox.hgrow="ALWAYS"/>
+
-
-
-
-
+
+
+
+
-
+
-
-
+
+
-
+
-
+
-
-
+
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/welcome/quicksettings/PushApplicationDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/welcome/quicksettings/PushApplicationDialog.fxml
index ca19237461c..b76d5d547d6 100644
--- a/jabgui/src/main/resources/org/jabref/gui/welcome/quicksettings/PushApplicationDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/welcome/quicksettings/PushApplicationDialog.fxml
@@ -11,38 +11,50 @@
-
+
-
+
-
+ wrapText="true"
+ HBox.hgrow="ALWAYS"/>
+
-
+
-
+
-
+
-
+
-
-
+
+
diff --git a/jabgui/src/main/resources/org/jabref/gui/welcome/quicksettings/ThemeDialog.fxml b/jabgui/src/main/resources/org/jabref/gui/welcome/quicksettings/ThemeDialog.fxml
index d33970f058a..f55672078c8 100644
--- a/jabgui/src/main/resources/org/jabref/gui/welcome/quicksettings/ThemeDialog.fxml
+++ b/jabgui/src/main/resources/org/jabref/gui/welcome/quicksettings/ThemeDialog.fxml
@@ -13,50 +13,73 @@
-
+
-
+
-
+ wrapText="true"
+ HBox.hgrow="ALWAYS"/>
+
-
-
+
+
-
+
-
+
-
-
-
+
+
+
-
-
-
+
+
+
-
+
-
-
+
+
-
+
-
+
@@ -64,6 +87,8 @@
-
-
+
+
diff --git a/jabgui/src/main/resources/tinylog.properties b/jabgui/src/main/resources/tinylog.properties
index b3106ac889d..394eb1c56b2 100644
--- a/jabgui/src/main/resources/tinylog.properties
+++ b/jabgui/src/main/resources/tinylog.properties
@@ -1,22 +1,17 @@
-level = info
-writer = gui
-writerConsole = console
-
-writerConsole.format = {date} [{thread}] {class}.{method}()\n{level}: {message}\n
-
+level=info
+writer=gui
+writerConsole=console
+writerConsole.format={date} [{thread}] {class}.{method}()\n{level}: {message}\n
# More shrunk exception logs. See https://tinylog.org/v2/configuration/#strip-stack-trace-elements for details
-exception = strip: jdk.internal
-
-level@org.apache.pdfbox.pdmodel.font = error
-level@org.apache.pdfbox.pdmodel.PDSimpleFont = error
-level@org.apache.fontbox.util.autodetect.FontFileFinder = warn
-level@org.apache.fontbox.ttf = warn
-level@ai.djl = info
-level@io.zonky.test.db.postgres.embedded = warn
-level@org.freedesktop.dbus.connections.transports.TransportBuilder = warn
-
+exception=strip: jdk.internal
+level@org.apache.pdfbox.pdmodel.font=error
+level@org.apache.pdfbox.pdmodel.PDSimpleFont=error
+level@org.apache.fontbox.util.autodetect.FontFileFinder=warn
+level@org.apache.fontbox.ttf=warn
+level@ai.djl=info
+level@io.zonky.test.db.postgres.embedded=warn
+level@org.freedesktop.dbus.connections.transports.TransportBuilder=warn
#level@org.jabref.gui.JabRefGUI = debug
-
# AI debugging
#level@ai.djl = debug
#level@org.jabref.gui.entryeditor.aichattab.AiChat = trace
diff --git a/jabgui/src/test/java/org/jabref/gui/mergeentries/threewaymerge/fieldsmerger/FileMergerTest.java b/jabgui/src/test/java/org/jabref/gui/mergeentries/threewaymerge/fieldsmerger/FileMergerTest.java
index 0ee34ba2c70..653806fa1ce 100644
--- a/jabgui/src/test/java/org/jabref/gui/mergeentries/threewaymerge/fieldsmerger/FileMergerTest.java
+++ b/jabgui/src/test/java/org/jabref/gui/mergeentries/threewaymerge/fieldsmerger/FileMergerTest.java
@@ -16,8 +16,8 @@ class FileMergerTest {
* FileA and FileB are valid strings and are separated by semicolon
*
* @param expect Expected value
- * @param fileA File string a
- * @param fileB File String b
+ * @param fileA File string a
+ * @param fileB File String b
*/
@ParameterizedTest
@CsvSource(textBlock = """
diff --git a/jabgui/src/test/java/org/jabref/testutils/interactive/styletester/StyleTester.fxml b/jabgui/src/test/java/org/jabref/testutils/interactive/styletester/StyleTester.fxml
index 69b59a87a7e..c3149a4a31f 100644
--- a/jabgui/src/test/java/org/jabref/testutils/interactive/styletester/StyleTester.fxml
+++ b/jabgui/src/test/java/org/jabref/testutils/interactive/styletester/StyleTester.fxml
@@ -36,130 +36,238 @@
-
-
+
+
-
- Normal buttons:
-
+
+
+ Normal
+ buttons:
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
- Text buttons:
-
+
+ Text
+ buttons:
+
+
-
+
-
-
+
-
-
+
-
-
+
-
-
+
-
-
+
-
-
+
- Contained buttons:
-
+
+ Contained
+ buttons:
+
+
-
+
-
-
+
-
+
-
+
-
+
-
+
-
-
+
-
-
+
-
-
+
@@ -182,251 +290,456 @@
-
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
-
-
+
-
+
-
-
-
+
+
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
-
-
+
+
-
-
-
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
+
+
-
-
-
+
+
+
-
-
+
+
-
-
-
-
+
+
+
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
@@ -435,25 +748,40 @@
-
+
-
+
-
+
-
+
@@ -462,14 +790,20 @@
-
+
-
+
@@ -478,7 +812,10 @@
-
+
diff --git a/jablib/src/main/java/module-info.java b/jablib/src/main/java/module-info.java
index 10f70714898..8552e493c3d 100644
--- a/jablib/src/main/java/module-info.java
+++ b/jablib/src/main/java/module-info.java
@@ -119,6 +119,7 @@
exports org.jabref.logic.git.merge.planning;
exports org.jabref.logic.git.merge.execution;
exports org.jabref.model.sciteTallies;
+ exports org.jabref.logic.importer.relatedwork;
requires java.base;
diff --git a/jablib/src/main/java/org/jabref/logic/ai/ingestion/LowLevelIngestor.java b/jablib/src/main/java/org/jabref/logic/ai/ingestion/LowLevelIngestor.java
index 3138dcf424b..5a604c06383 100644
--- a/jablib/src/main/java/org/jabref/logic/ai/ingestion/LowLevelIngestor.java
+++ b/jablib/src/main/java/org/jabref/logic/ai/ingestion/LowLevelIngestor.java
@@ -57,7 +57,7 @@ private void setupListeningToPreferencesChanges() {
* Add document to embedding store.
* This method does not check if file was already ingested.
*
- * @param document - document to add.
+ * @param document - document to add.
* @param stopProperty - in case you want to stop the ingestion process, set this property to true.
*/
public void ingestDocument(Document document, ReadOnlyBooleanProperty stopProperty, IntegerProperty workDone, IntegerProperty workMax) throws InterruptedException {
diff --git a/jablib/src/main/java/org/jabref/logic/auxparser/DefaultAuxParser.java b/jablib/src/main/java/org/jabref/logic/auxparser/DefaultAuxParser.java
index 11b1e4aac7f..edc2eca1456 100644
--- a/jablib/src/main/java/org/jabref/logic/auxparser/DefaultAuxParser.java
+++ b/jablib/src/main/java/org/jabref/logic/auxparser/DefaultAuxParser.java
@@ -145,7 +145,7 @@ private void resolveTags(AuxParserResult result) {
* Resolves and adds CrossRef entries to insert them in addition to the original entries
*
* @param entries Entries to check for CrossRefs
- * @param result AUX file
+ * @param result AUX file
*/
private void resolveCrossReferences(List entries, AuxParserResult result) {
List entriesToInsert = new ArrayList<>();
@@ -172,7 +172,7 @@ private void resolveCrossReferences(List entries, AuxParserResult resu
* Insert a clone of each given entry. The clones are each given a new unique ID.
*
* @param entries Entries to be cloned
- * @param result the parser result (representing the AUX file)
+ * @param result the parser result (representing the AUX file)
*/
private void insertEntries(List entries, AuxParserResult result) {
List clonedEntries = new ArrayList<>();
diff --git a/jablib/src/main/java/org/jabref/logic/bibtex/BibEntryWriter.java b/jablib/src/main/java/org/jabref/logic/bibtex/BibEntryWriter.java
index a83086d7ee0..a9cfe153bcb 100644
--- a/jablib/src/main/java/org/jabref/logic/bibtex/BibEntryWriter.java
+++ b/jablib/src/main/java/org/jabref/logic/bibtex/BibEntryWriter.java
@@ -61,10 +61,10 @@ public void write(BibEntry entry, BibWriter out, BibDatabaseMode bibDatabaseMode
/// Writes the given BibEntry using the given writer
///
- /// @param entry The entry to write
- /// @param out The writer to use
+ /// @param entry The entry to write
+ /// @param out The writer to use
/// @param bibDatabaseMode The database mode (bibtex or biblatex)
- /// @param reformat Should the entry be in any case, even if no change occurred?
+ /// @param reformat Should the entry be in any case, even if no change occurred?
public void write(BibEntry entry, BibWriter out, BibDatabaseMode bibDatabaseMode, boolean reformat) throws IOException {
// if the entry has not been modified, write it as it was
if (!reformat && !entry.hasChanged()) {
@@ -160,7 +160,7 @@ private void writeKeyField(BibEntry entry, BibWriter out) throws IOException {
/// Write a single field, if it has any content.
///
/// @param entry the entry to write
- /// @param out the target of the write
+ /// @param out the target of the write
/// @param field the field
/// @throws IOException In case of an IO error
private void writeField(BibEntry entry, BibWriter out, Field field, int indent) throws IOException {
diff --git a/jablib/src/main/java/org/jabref/logic/bibtex/FieldWriter.java b/jablib/src/main/java/org/jabref/logic/bibtex/FieldWriter.java
index 67c08b63f7b..b5fd78d6a4b 100644
--- a/jablib/src/main/java/org/jabref/logic/bibtex/FieldWriter.java
+++ b/jablib/src/main/java/org/jabref/logic/bibtex/FieldWriter.java
@@ -90,7 +90,7 @@ private static String getErrorContextSnippet(String text, int index) {
* Checks if the character at the specified index in the given text is escaped.
* A character is considered escaped if it is preceded by an odd number of backslashes (\).
*
- * @param text the input string to check for escaped characters
+ * @param text the input string to check for escaped characters
* @param index the index of the character in the text to check for escaping
* @return true if the character at the specified index is escaped, false otherwise
*/
@@ -109,7 +109,7 @@ private static boolean isEscaped(String text, int index) {
/**
* Formats the content of a field.
*
- * @param field the name of the field - used to trigger different serializations, e.g., turning off resolution for some strings
+ * @param field the name of the field - used to trigger different serializations, e.g., turning off resolution for some strings
* @param content the content of the field
* @return a formatted string suitable for output
* @throws InvalidFieldValueException if content is not a correct bibtex string, e.g., because of improperly balanced braces or using # not paired
@@ -225,7 +225,7 @@ private String formatWithoutResolvingStrings(String content) throws InvalidField
/**
* @param stringBuilder the StringBuilder to append the text to
- * @param text the text to append
+ * @param text the text to append
*/
private void writeText(StringBuilder stringBuilder, String text, int startPos, int endPos) {
stringBuilder.append(FIELD_START);
@@ -235,11 +235,11 @@ private void writeText(StringBuilder stringBuilder, String text, int startPos, i
/**
* @param stringBuilder the StringBuilder to append the text to
- * @param text the text use as basis to get the text to append
- * @param startPos the position in text where the text to add starts
- * @param endPos the position in text where the text to add ends
- * @param isFirst true if the label to write is the first one to write
- * @param isLast true if the label to write is the last one to write
+ * @param text the text use as basis to get the text to append
+ * @param startPos the position in text where the text to add starts
+ * @param endPos the position in text where the text to add ends
+ * @param isFirst true if the label to write is the first one to write
+ * @param isLast true if the label to write is the last one to write
*/
private void writeStringLabel(StringBuilder stringBuilder, String text, int startPos, int endPos, boolean isFirst, boolean isLast) {
String line = (isFirst ? "" : " # ") + text.substring(startPos, endPos) + (isLast ? "" : " # ");
diff --git a/jablib/src/main/java/org/jabref/logic/bibtex/comparator/BibtexStringComparator.java b/jablib/src/main/java/org/jabref/logic/bibtex/comparator/BibtexStringComparator.java
index 36df24c09e7..a19dcf4c52e 100644
--- a/jablib/src/main/java/org/jabref/logic/bibtex/comparator/BibtexStringComparator.java
+++ b/jablib/src/main/java/org/jabref/logic/bibtex/comparator/BibtexStringComparator.java
@@ -11,8 +11,8 @@ public class BibtexStringComparator implements Comparator {
/**
* @param considerRefs Indicates whether the strings should be
- * sorted according to internal references in addition to
- * alphabetical sorting.
+ * sorted according to internal references in addition to
+ * alphabetical sorting.
*/
public BibtexStringComparator(boolean considerRefs) {
this.considerRefs = considerRefs;
diff --git a/jablib/src/main/java/org/jabref/logic/bibtex/comparator/EntryComparator.java b/jablib/src/main/java/org/jabref/logic/bibtex/comparator/EntryComparator.java
index c6ab47480e3..f80bd483709 100644
--- a/jablib/src/main/java/org/jabref/logic/bibtex/comparator/EntryComparator.java
+++ b/jablib/src/main/java/org/jabref/logic/bibtex/comparator/EntryComparator.java
@@ -26,10 +26,10 @@ public class EntryComparator implements Comparator {
/**
*
- * @param binary true: the presence of fields is checked; false: the content of the fields is compared
+ * @param binary true: the presence of fields is checked; false: the content of the fields is compared
* @param descending true: if the most different entry should get the highest score
- * @param field the field to sort on
- * @param next the next comparator to use (if the current comparator results in equality)
+ * @param field the field to sort on
+ * @param next the next comparator to use (if the current comparator results in equality)
*/
public EntryComparator(boolean binary, boolean descending, Field field, Comparator next) {
this.binary = binary;
diff --git a/jablib/src/main/java/org/jabref/logic/bibtex/comparator/FieldValuePlausibilityComparator.java b/jablib/src/main/java/org/jabref/logic/bibtex/comparator/FieldValuePlausibilityComparator.java
index 0ddca78d10f..9bc4c730037 100644
--- a/jablib/src/main/java/org/jabref/logic/bibtex/comparator/FieldValuePlausibilityComparator.java
+++ b/jablib/src/main/java/org/jabref/logic/bibtex/comparator/FieldValuePlausibilityComparator.java
@@ -4,7 +4,7 @@ public abstract class FieldValuePlausibilityComparator {
/**
* Compares the plausibility of two field values.
*
- * @param leftValue value from the library (or candidate)
+ * @param leftValue value from the library (or candidate)
* @param rightValue value from the fetcher (or existing record)
* @return ComparisonResult indicating which field is more plausible: RIGHT_BETTER, LEFT_BETTER, or UNDETERMINED
*/
diff --git a/jablib/src/main/java/org/jabref/logic/bibtex/comparator/YearFieldValuePlausibilityComparator.java b/jablib/src/main/java/org/jabref/logic/bibtex/comparator/YearFieldValuePlausibilityComparator.java
index 11d6e1b8c7a..7a70ebb060e 100644
--- a/jablib/src/main/java/org/jabref/logic/bibtex/comparator/YearFieldValuePlausibilityComparator.java
+++ b/jablib/src/main/java/org/jabref/logic/bibtex/comparator/YearFieldValuePlausibilityComparator.java
@@ -15,7 +15,7 @@ public class YearFieldValuePlausibilityComparator extends FieldValuePlausibility
/**
* Compares the plausibility of two field values.
*
- * @param leftValue value from the library (or candidate)
+ * @param leftValue value from the library (or candidate)
* @param rightValue value from the fetcher (or existing record)
* @return ComparisonResult indicating which year is more plausible: RIGHT_BETTER, LEFT_BETTER, or UNDETERMINED
*/
diff --git a/jablib/src/main/java/org/jabref/logic/bst/BstVM.java b/jablib/src/main/java/org/jabref/logic/bst/BstVM.java
index 8f401c9089c..842fa4641f6 100644
--- a/jablib/src/main/java/org/jabref/logic/bst/BstVM.java
+++ b/jablib/src/main/java/org/jabref/logic/bst/BstVM.java
@@ -62,7 +62,7 @@ private static ParseTree charStream2CommonTree(CharStream query) {
/**
* Transforms the given list of BibEntries to a rendered list of references using the parsed bst program
*
- * @param bibEntries list of entries to convert
+ * @param bibEntries list of entries to convert
* @param bibDatabase (may be null) the bibDatabase used for resolving strings / crossref
* @return list of references in plain text form
*/
diff --git a/jablib/src/main/java/org/jabref/logic/bst/util/BstCaseChanger.java b/jablib/src/main/java/org/jabref/logic/bst/util/BstCaseChanger.java
index d7f862f1fcf..a6f59b5a37c 100644
--- a/jablib/src/main/java/org/jabref/logic/bst/util/BstCaseChanger.java
+++ b/jablib/src/main/java/org/jabref/logic/bst/util/BstCaseChanger.java
@@ -73,7 +73,7 @@ private BstCaseChanger() {
/**
* Changes case of the given string s
*
- * @param s the string to handle
+ * @param s the string to handle
* @param format the format
*/
public static String changeCase(String s, FormatMode format) {
@@ -261,7 +261,7 @@ private int convertCharIfBraceLevelIsZero(char[] c, int start, StringBuilder sb,
*
* Also used by BibtexPurify
*
- * @param c the current "String"
+ * @param c the current "String"
* @param pos the position
* @return the special LaTeX character or null
*/
diff --git a/jablib/src/main/java/org/jabref/logic/bst/util/BstNameFormatter.java b/jablib/src/main/java/org/jabref/logic/bst/util/BstNameFormatter.java
index 8b0a66c9a99..3034edf863d 100644
--- a/jablib/src/main/java/org/jabref/logic/bst/util/BstNameFormatter.java
+++ b/jablib/src/main/java/org/jabref/logic/bst/util/BstNameFormatter.java
@@ -38,8 +38,8 @@ private BstNameFormatter() {
* Formats the nth author of the author name list by a given format string
*
* @param authorsNameList The string from an author field
- * @param whichName index of the list, starting with 1
- * @param formatString TODO
+ * @param whichName index of the list, starting with 1
+ * @param formatString TODO
*/
public static String formatName(String authorsNameList, int whichName, String formatString) {
AuthorList al = AuthorList.parse(authorsNameList);
diff --git a/jablib/src/main/java/org/jabref/logic/citationkeypattern/BracketedPattern.java b/jablib/src/main/java/org/jabref/logic/citationkeypattern/BracketedPattern.java
index cb46802d7f2..a1719a94095 100644
--- a/jablib/src/main/java/org/jabref/logic/citationkeypattern/BracketedPattern.java
+++ b/jablib/src/main/java/org/jabref/logic/citationkeypattern/BracketedPattern.java
@@ -172,9 +172,9 @@ public String expand(@NonNull BibEntry bibentry, BibDatabase database) {
/**
* Expands the current pattern using the given bibentry, keyword delimiter, and database.
*
- * @param bibentry The bibentry to expand.
+ * @param bibentry The bibentry to expand.
* @param keywordDelimiter The keyword delimiter to use.
- * @param database The database to use for string-lookups and cross-refs. May be null.
+ * @param database The database to use for string-lookups and cross-refs. May be null.
* @return The expanded pattern. The empty string is returned, if it could not be expanded.
*/
public String expand(@NonNull BibEntry bibentry, Character keywordDelimiter, BibDatabase database) {
@@ -184,10 +184,10 @@ public String expand(@NonNull BibEntry bibentry, Character keywordDelimiter, Bib
/**
* Expands a pattern
*
- * @param pattern The pattern to expand
+ * @param pattern The pattern to expand
* @param keywordDelimiter The keyword delimiter to use
- * @param entry The bibEntry to use for expansion
- * @param database The database for field resolving. May be null.
+ * @param entry The bibEntry to use for expansion
+ * @param database The database for field resolving. May be null.
* @return The expanded pattern. Not null.
*/
public static String expandBrackets(@NonNull String pattern, Character keywordDelimiter, @NonNull BibEntry entry, BibDatabase database) {
@@ -199,8 +199,8 @@ public static String expandBrackets(@NonNull String pattern, Character keywordDe
* expanding it.
*
* @param keywordDelimiter The keyword delimiter to use
- * @param entry The {@link BibEntry} to use for expansion
- * @param database The {@link BibDatabase} for field resolving. May be null.
+ * @param entry The {@link BibEntry} to use for expansion
+ * @param database The {@link BibDatabase} for field resolving. May be null.
* @return a function accepting a bracketed expression and returning the result of expanding it
*/
public static Function expandBracketContent(Character keywordDelimiter, BibEntry entry, BibDatabase database) {
@@ -220,9 +220,9 @@ public static Function expandBracketContent(Character keywordDel
/**
* Expands a pattern.
*
- * @param pattern The pattern to expand
+ * @param pattern The pattern to expand
* @param bracketContentHandler A function taking the string representation of the content of a bracketed pattern
- * and expanding it
+ * and expanding it
* @return The expanded pattern. Not null.
*/
public static String expandBrackets(@NonNull String pattern, Function bracketContentHandler) {
@@ -260,7 +260,7 @@ public static String expandBrackets(@NonNull String pattern, FunctionStringBuilder to which tokens will be appended
- * @param tokenizer the tokenizer producing the tokens
+ * @param tokenizer the tokenizer producing the tokens
*/
private static void appendQuote(StringBuilder stringBuilder, StringTokenizer tokenizer) {
stringBuilder.append("\""); // We know that the previous token was \"
@@ -320,10 +320,10 @@ private static void appendQuote(StringBuilder stringBuilder, StringTokenizer tok
/**
* Evaluates the given pattern to the given bibentry and database
*
- * @param entry The entry to get the field value from
- * @param pattern A pattern string (such as auth, pureauth, authorLast)
+ * @param entry The entry to get the field value from
+ * @param pattern A pattern string (such as auth, pureauth, authorLast)
* @param keywordDelimiter The de
- * @param database The database to use for field resolving. May be null.
+ * @param database The database to use for field resolving. May be null.
* @return String containing the evaluation result. Empty string if the pattern cannot be resolved.
*/
public static String getFieldValue(BibEntry entry, String pattern, Character keywordDelimiter, BibDatabase database) {
@@ -561,9 +561,9 @@ private static boolean isInstitution(Author author) {
/**
* Applies modifiers to a label generated based on a field marker.
*
- * @param label The generated label.
- * @param parts String array containing the modifiers.
- * @param offset The number of initial items in the modifiers array to skip.
+ * @param label The generated label.
+ * @param parts String array containing the modifiers.
+ * @param offset The number of initial items in the modifiers array to skip.
* @param expandBracketContent a function to expand the content in the parentheses.
* @return The modified label.
*/
@@ -951,8 +951,8 @@ private static String getOrganizationInitials(String orgName) {
*
* @param authorList the list of authors
* @param maxAuthors the maximum number of authors in the string
- * @param delimiter delimiter separating the last names of the authors
- * @param suffix to replace excess authors with. Also used to replace and others.
+ * @param delimiter delimiter separating the last names of the authors
+ * @param suffix to replace excess authors with. Also used to replace and others.
* @return a string consisting of authors' last names separated by a `delimiter` and with any authors excess of
* `maxAuthors` replaced with `suffix`
*/
@@ -979,7 +979,7 @@ public static String joinAuthorsOnLastName(AuthorList authorList, int maxAuthors
* Gets the surnames of the first N authors and appends EtAl if there are more than N authors
*
* @param authorList an {@link AuthorList}
- * @param n the number of desired authors
+ * @param n the number of desired authors
* @return Gets the surnames of the first N authors and appends EtAl if there are more than N authors
*/
private static String nAuthors(AuthorList authorList, int n) {
@@ -1081,8 +1081,8 @@ static String authShort(AuthorList authorList) {
* authIniN format
*
* @param authorList The authors to format.
- * @param n The maximum number of characters this string will be long. A negative number or zero will lead
- * to "" be returned.
+ * @param n The maximum number of characters this string will be long. A negative number or zero will lead
+ * to "" be returned.
*/
static String authIniN(AuthorList authorList, int n) {
if ((n <= 0) || authorList.isEmpty()) {
diff --git a/jablib/src/main/java/org/jabref/logic/citationkeypattern/CitationKeyGenerator.java b/jablib/src/main/java/org/jabref/logic/citationkeypattern/CitationKeyGenerator.java
index f81554b58b0..1f0f233488b 100644
--- a/jablib/src/main/java/org/jabref/logic/citationkeypattern/CitationKeyGenerator.java
+++ b/jablib/src/main/java/org/jabref/logic/citationkeypattern/CitationKeyGenerator.java
@@ -115,7 +115,7 @@ public String generateKey(@NonNull BibEntry entry) {
/**
* A letter will be appended to the key based on the user's preferences, either always or to prevent duplicated keys.
*
- * @param key the new key
+ * @param key the new key
* @param oldKey the old key
* @return a key, if needed, with an appended letter
*/
diff --git a/jablib/src/main/java/org/jabref/logic/citationstyle/CSLAdapter.java b/jablib/src/main/java/org/jabref/logic/citationstyle/CSLAdapter.java
index 474d9e92379..1e4324dce06 100644
--- a/jablib/src/main/java/org/jabref/logic/citationstyle/CSLAdapter.java
+++ b/jablib/src/main/java/org/jabref/logic/citationstyle/CSLAdapter.java
@@ -61,7 +61,7 @@ public synchronized Citation makeCitation(List bibEntries, String styl
/**
* Initialized the static CSL instance if needed.
*
- * @param newStyle journal style of the output
+ * @param newStyle journal style of the output
* @param newFormat usually HTML or RTF.
* @throws IOException An error occurred in the underlying framework
*/
diff --git a/jablib/src/main/java/org/jabref/logic/citationstyle/CSLStyleUtils.java b/jablib/src/main/java/org/jabref/logic/citationstyle/CSLStyleUtils.java
index 30863e28814..3d4c5f45c9b 100644
--- a/jablib/src/main/java/org/jabref/logic/citationstyle/CSLStyleUtils.java
+++ b/jablib/src/main/java/org/jabref/logic/citationstyle/CSLStyleUtils.java
@@ -114,7 +114,7 @@ private static Optional createCitationStyleFromSource(InputStream
* Parses the style information from a style content using StAX.
*
* @param filename The filename of the style (for logging)
- * @param content The XML content of the style
+ * @param content The XML content of the style
* @return Optional containing the StyleInfo if valid, empty otherwise
*/
public static Optional parseStyleInfo(String filename, String content) {
diff --git a/jablib/src/main/java/org/jabref/logic/cleanup/FieldFormatterCleanup.java b/jablib/src/main/java/org/jabref/logic/cleanup/FieldFormatterCleanup.java
index 3528cdc5df9..a50dc692304 100644
--- a/jablib/src/main/java/org/jabref/logic/cleanup/FieldFormatterCleanup.java
+++ b/jablib/src/main/java/org/jabref/logic/cleanup/FieldFormatterCleanup.java
@@ -43,7 +43,7 @@ public List cleanup(BibEntry entry) {
* If the formatter returns an empty string, then the field is removed.
*
* @param fieldKey the field on which to run the formatter
- * @param entry the entry to be cleaned up
+ * @param entry the entry to be cleaned up
* @return a list of changes of the entry
*/
private List cleanupSingleField(Field fieldKey, BibEntry entry) {
diff --git a/jablib/src/main/java/org/jabref/logic/crawler/StudyRepository.java b/jablib/src/main/java/org/jabref/logic/crawler/StudyRepository.java
index 6f6c4db5b10..6f9a597cb82 100644
--- a/jablib/src/main/java/org/jabref/logic/crawler/StudyRepository.java
+++ b/jablib/src/main/java/org/jabref/logic/crawler/StudyRepository.java
@@ -75,11 +75,11 @@ public class StudyRepository {
* Creates a study repository.
*
* @param pathToRepository Where the repository root is located.
- * @param gitHandler The git handler that manages any interaction with the remote repository
+ * @param gitHandler The git handler that manages any interaction with the remote repository
* @throws IllegalArgumentException If the repository root directory does not exist, or the root directory does not
- * contain the study definition file.
- * @throws IOException Thrown if the given repository does not exist, or the study definition file
- * does not exist
+ * contain the study definition file.
+ * @throws IOException Thrown if the given repository does not exist, or the study definition file
+ * does not exist
*/
public StudyRepository(Path pathToRepository,
SlrGitHandler gitHandler,
diff --git a/jablib/src/main/java/org/jabref/logic/database/DatabaseMerger.java b/jablib/src/main/java/org/jabref/logic/database/DatabaseMerger.java
index caceb23a09e..42e67902fbf 100644
--- a/jablib/src/main/java/org/jabref/logic/database/DatabaseMerger.java
+++ b/jablib/src/main/java/org/jabref/logic/database/DatabaseMerger.java
@@ -89,8 +89,8 @@ public void mergeStrings(BibDatabase target, BibDatabase other) {
}
/**
- * @param target the metaData that is the merge target
- * @param other the metaData to merge into the target
+ * @param target the metaData that is the merge target
+ * @param other the metaData to merge into the target
* @param otherFilename the filename of the other library. Pass "unknown" if not known.
*/
public void mergeMetaData(@NonNull MetaData target,
diff --git a/jablib/src/main/java/org/jabref/logic/database/DuplicateCheck.java b/jablib/src/main/java/org/jabref/logic/database/DuplicateCheck.java
index a40a35875d6..56e70731926 100644
--- a/jablib/src/main/java/org/jabref/logic/database/DuplicateCheck.java
+++ b/jablib/src/main/java/org/jabref/logic/database/DuplicateCheck.java
@@ -332,7 +332,7 @@ public boolean isDuplicate(final BibEntry one, final BibEntry two, final BibData
* The search is terminated when the first duplicate is found.
*
* @param database The database to search.
- * @param entry The entry of which we are looking for duplicates.
+ * @param entry The entry of which we are looking for duplicates.
* @return The first duplicate entry found. Empty Optional if no duplicates are found.
*/
public Optional containsDuplicate(final BibDatabase database,
diff --git a/jablib/src/main/java/org/jabref/logic/exporter/AtomicFileOutputStream.java b/jablib/src/main/java/org/jabref/logic/exporter/AtomicFileOutputStream.java
index a52633c975a..3bb6560f3b8 100644
--- a/jablib/src/main/java/org/jabref/logic/exporter/AtomicFileOutputStream.java
+++ b/jablib/src/main/java/org/jabref/logic/exporter/AtomicFileOutputStream.java
@@ -75,7 +75,7 @@ public class AtomicFileOutputStream extends FilterOutputStream {
/**
* Creates a new output stream to write to or replace the file at the specified path.
*
- * @param path the path of the file to write to or replace
+ * @param path the path of the file to write to or replace
* @param keepBackup whether to keep the backup file (.sav) after a successful write process
*/
public AtomicFileOutputStream(Path path, boolean keepBackup) throws IOException {
diff --git a/jablib/src/main/java/org/jabref/logic/exporter/EmbeddedBibFilePdfExporter.java b/jablib/src/main/java/org/jabref/logic/exporter/EmbeddedBibFilePdfExporter.java
index a0fc753f888..14553ef7ab2 100644
--- a/jablib/src/main/java/org/jabref/logic/exporter/EmbeddedBibFilePdfExporter.java
+++ b/jablib/src/main/java/org/jabref/logic/exporter/EmbeddedBibFilePdfExporter.java
@@ -59,8 +59,8 @@ public EmbeddedBibFilePdfExporter(BibDatabaseMode bibDatabaseMode, BibEntryTypes
/**
* @param databaseContext the database to export from
- * @param file the file to write to. If it contains "split", then the output is split into different files
- * @param entries a list containing all entries that should be exported
+ * @param file the file to write to. If it contains "split", then the output is split into different files
+ * @param entries a list containing all entries that should be exported
*/
@Override
public void export(@NonNull BibDatabaseContext databaseContext,
diff --git a/jablib/src/main/java/org/jabref/logic/exporter/Exporter.java b/jablib/src/main/java/org/jabref/logic/exporter/Exporter.java
index decacb48570..e2c6ccdec06 100644
--- a/jablib/src/main/java/org/jabref/logic/exporter/Exporter.java
+++ b/jablib/src/main/java/org/jabref/logic/exporter/Exporter.java
@@ -60,8 +60,8 @@ public String toString() {
* Performs the export.
*
* @param databaseContext the database to export from
- * @param file the file to write to
- * @param entries a list containing all entries that should be exported
+ * @param file the file to write to
+ * @param entries a list containing all entries that should be exported
*/
public abstract void export(@NonNull BibDatabaseContext databaseContext,
Path file,
@@ -80,10 +80,10 @@ public void export(BibDatabaseContext databaseContext,
/**
* Exports to all files linked to a given entry
*
- * @param databaseContext the database to export from
- * @param filePreferences the filePreferences to use for resolving paths
- * @param entryToWriteOn the entry for which we want to write on all linked pdfs
- * @param entriesToWrite the content that we want to export to the pdfs
+ * @param databaseContext the database to export from
+ * @param filePreferences the filePreferences to use for resolving paths
+ * @param entryToWriteOn the entry for which we want to write on all linked pdfs
+ * @param entriesToWrite the content that we want to export to the pdfs
* @param abbreviationRepository the opened repository of journal abbreviations
* @return whether any file was written on
* @throws IOException if the writing fails
@@ -115,9 +115,9 @@ public boolean exportToAllFilesOfEntry(BibDatabaseContext databaseContext,
* If it overwrites any existing information, only the last found bib-entry will be exported (as the previous exports are overwritten).
* If it extends existing information, all found bib-entries will be exported.
*
- * @param databaseContext the database-context to export from
- * @param filePreferences the filePreferences to use for resolving paths
- * @param filePath the path to the file we want to write on
+ * @param databaseContext the database-context to export from
+ * @param filePreferences the filePreferences to use for resolving paths
+ * @param filePath the path to the file we want to write on
* @param abbreviationRepository the opened repository of journal abbreviations
* @return whether the file was written on at least once
* @throws IOException if the writing fails
diff --git a/jablib/src/main/java/org/jabref/logic/exporter/TemplateExporter.java b/jablib/src/main/java/org/jabref/logic/exporter/TemplateExporter.java
index f34d5e592c8..54849a7af4a 100644
--- a/jablib/src/main/java/org/jabref/logic/exporter/TemplateExporter.java
+++ b/jablib/src/main/java/org/jabref/logic/exporter/TemplateExporter.java
@@ -59,9 +59,9 @@ public class TemplateExporter extends Exporter {
*
* @param displayName Name to display to the user.
* @param consoleName Name to call this format in the console.
- * @param lfFileName Name of the main layout file.
- * @param directory Directory in which to find the layout file.
- * @param extension Should contain the . (for instance .txt).
+ * @param lfFileName Name of the main layout file.
+ * @param directory Directory in which to find the layout file.
+ * @param extension Should contain the . (for instance .txt).
*/
public TemplateExporter(String displayName,
String consoleName,
@@ -74,9 +74,9 @@ public TemplateExporter(String displayName,
/**
* Initialize another export format based on templates stored in dir with layoutFile lfFilename.
*
- * @param name to display to the user and to call this format in the console.
+ * @param name to display to the user and to call this format in the console.
* @param lfFileName Name of the main layout file.
- * @param extension May or may not contain the . (for instance .txt).
+ * @param extension May or may not contain the . (for instance .txt).
*/
public TemplateExporter(String name,
String lfFileName,
@@ -97,9 +97,9 @@ public TemplateExporter(String name,
*
* @param displayName Name to display to the user.
* @param consoleName Name to call this format in the console.
- * @param lfFileName Name of the main layout file.
- * @param directory Directory in which to find the layout file.
- * @param extension Should contain the . (for instance .txt).
+ * @param lfFileName Name of the main layout file.
+ * @param directory Directory in which to find the layout file.
+ * @param extension Should contain the . (for instance .txt).
*/
public TemplateExporter(String displayName,
String consoleName,
@@ -114,12 +114,12 @@ public TemplateExporter(String displayName,
/**
* Initialize another export format based on templates stored in dir with layoutFile lfFilename.
*
- * @param displayName Name to display to the user.
- * @param consoleName Name to call this format in the console.
- * @param lfFileName Name of the main layout file.
- * @param directory Directory in which to find the layout file.
- * @param extension Should contain the . (for instance .txt).
- * @param layoutPreferences Preferences for layout
+ * @param displayName Name to display to the user.
+ * @param consoleName Name to call this format in the console.
+ * @param lfFileName Name of the main layout file.
+ * @param directory Directory in which to find the layout file.
+ * @param extension Should contain the . (for instance .txt).
+ * @param layoutPreferences Preferences for layout
* @param blankLineBehaviour how to behave regarding blank lines.
*/
public TemplateExporter(String displayName,
diff --git a/jablib/src/main/java/org/jabref/logic/exporter/XmpExporter.java b/jablib/src/main/java/org/jabref/logic/exporter/XmpExporter.java
index f3901ef90b5..9605e1316aa 100644
--- a/jablib/src/main/java/org/jabref/logic/exporter/XmpExporter.java
+++ b/jablib/src/main/java/org/jabref/logic/exporter/XmpExporter.java
@@ -32,8 +32,8 @@ public XmpExporter(XmpPreferences xmpPreferences) {
/**
* @param databaseContext the database to export from
- * @param file the file to write to. If it contains "split", then the output is split into different files
- * @param entries a list containing all entries that should be exported
+ * @param file the file to write to. If it contains "split", then the output is split into different files
+ * @param entries a list containing all entries that should be exported
*/
@Override
public void export(@NonNull BibDatabaseContext databaseContext,
diff --git a/jablib/src/main/java/org/jabref/logic/formatter/bibtexfields/NormalizeWhitespaceFormatter.java b/jablib/src/main/java/org/jabref/logic/formatter/bibtexfields/NormalizeWhitespaceFormatter.java
index c9215e2b36b..223a631e614 100644
--- a/jablib/src/main/java/org/jabref/logic/formatter/bibtexfields/NormalizeWhitespaceFormatter.java
+++ b/jablib/src/main/java/org/jabref/logic/formatter/bibtexfields/NormalizeWhitespaceFormatter.java
@@ -32,7 +32,7 @@ public NormalizeWhitespaceFormatter(@NonNull FieldPreferences preferences) {
* Also depends on the caller whether strings have been resolved.
*
* @param fieldContent the content to format.
- * @param field the name of the bibtex field
+ * @param field the name of the bibtex field
* @return the formatted field content.
*/
public String format(String fieldContent, Field field) {
@@ -53,7 +53,7 @@ public String format(String fieldContent, Field field) {
* content. This allows for things like jan { - } feb to be passed.
*
* @param fieldContent the content to format.
- * @param field the name of the bibtex field
+ * @param field the name of the bibtex field
* @return the formatted field content.
*/
public String format(StringBuilder fieldContent, Field field) {
diff --git a/jablib/src/main/java/org/jabref/logic/formatter/bibtexfields/RegexFormatter.java b/jablib/src/main/java/org/jabref/logic/formatter/bibtexfields/RegexFormatter.java
index 1aa7131e004..4529c622a2b 100644
--- a/jablib/src/main/java/org/jabref/logic/formatter/bibtexfields/RegexFormatter.java
+++ b/jablib/src/main/java/org/jabref/logic/formatter/bibtexfields/RegexFormatter.java
@@ -50,7 +50,7 @@ public class RegexFormatter extends Formatter {
* Constructs a new regular expression-based formatter with the given RegEx.
*
* @param input the regular expressions for matching and replacing given in the form {@code ("",
- * "")}.
+ * "")}.
*/
public RegexFormatter(@NonNull String input) {
input = input.trim().replace("\\\"", PLACEHOLDER_FOR_QUOTE_SIGN);
diff --git a/jablib/src/main/java/org/jabref/logic/git/conflicts/SemanticConflictDetector.java b/jablib/src/main/java/org/jabref/logic/git/conflicts/SemanticConflictDetector.java
index 7c5119c3646..8642f3967b6 100644
--- a/jablib/src/main/java/org/jabref/logic/git/conflicts/SemanticConflictDetector.java
+++ b/jablib/src/main/java/org/jabref/logic/git/conflicts/SemanticConflictDetector.java
@@ -65,8 +65,8 @@ public static List detectConflicts(BibDatabaseContext bas
* Detect entry-level conflicts among base, local, and remote versions of an entry.
*
*
- * @param base the entry in the common ancestor
- * @param local the entry in the local version
+ * @param base the entry in the common ancestor
+ * @param local the entry in the local version
* @param remote the entry in the remote version
* @return optional conflict (if detected)
*/
@@ -180,7 +180,7 @@ private static boolean notEqual(String a, String b) {
* This plan is meant to be applied to local during merge:
* result = local + (remote − base)
*
- * @param base The base version of the database.
+ * @param base The base version of the database.
* @param remote The remote version to be merged.
* @return A {@link MergePlan} describing how to update the local copy with remote changes.
*/
diff --git a/jablib/src/main/java/org/jabref/logic/git/io/RevisionTriple.java b/jablib/src/main/java/org/jabref/logic/git/io/RevisionTriple.java
index 957a7c4018e..973601aa5e0 100644
--- a/jablib/src/main/java/org/jabref/logic/git/io/RevisionTriple.java
+++ b/jablib/src/main/java/org/jabref/logic/git/io/RevisionTriple.java
@@ -9,8 +9,8 @@
* Holds the three relevant commits involved in a semantic three-way merge,
* it is a helper value object used exclusively during merge resolution, not part of the domain model
*
- * @param base the merge base (common ancestor of local and remote)
- * @param local the current local branch tip
+ * @param base the merge base (common ancestor of local and remote)
+ * @param local the current local branch tip
* @param remote the tip of the remote tracking branch (typically origin/main)
*/
@NullMarked
diff --git a/jablib/src/main/java/org/jabref/logic/git/model/MergePlan.java b/jablib/src/main/java/org/jabref/logic/git/model/MergePlan.java
index fc35e2a9179..b3d5839db15 100644
--- a/jablib/src/main/java/org/jabref/logic/git/model/MergePlan.java
+++ b/jablib/src/main/java/org/jabref/logic/git/model/MergePlan.java
@@ -8,7 +8,7 @@
/**
* A data structure representing the result of semantic diffing between base and remote entries.
- *
+ *
* The idea is: library A and then this patch leads to library B (if this patch is calculated between A and B)
* This is a bit different from {@link org.jabref.logic.bibtex.comparator.BibEntryDiff}, which "just" contains two entries on any field diff, but leaves "computation" on the caller.
* Thus, the data structure is different, because here, only the patches are contained, not any source or target.
diff --git a/jablib/src/main/java/org/jabref/logic/icore/ConferenceUtils.java b/jablib/src/main/java/org/jabref/logic/icore/ConferenceUtils.java
index 0742c916c34..d21ee45d852 100644
--- a/jablib/src/main/java/org/jabref/logic/icore/ConferenceUtils.java
+++ b/jablib/src/main/java/org/jabref/logic/icore/ConferenceUtils.java
@@ -92,7 +92,7 @@ public static Optional extractStringFromParentheses(@NonNull String inpu
* is positioned ahead and retains the {@code -} in between.
*
*
- * @param input the raw string to extract acronym candidates from, must not be {@code null}
+ * @param input the raw string to extract acronym candidates from, must not be {@code null}
* @param cutoff the maximum allowed length of each candidate substring; candidates longer than this are discarded
* @return a set of acronym candidates ordered by descending length and then lexicographically,
* or an empty set if no valid candidates are found
diff --git a/jablib/src/main/java/org/jabref/logic/importer/AuthorListParser.java b/jablib/src/main/java/org/jabref/logic/importer/AuthorListParser.java
index 337bc1fff96..574c570c5d3 100644
--- a/jablib/src/main/java/org/jabref/logic/importer/AuthorListParser.java
+++ b/jablib/src/main/java/org/jabref/logic/importer/AuthorListParser.java
@@ -420,13 +420,13 @@ private Optional getAuthor() {
* Concatenates list of tokens from 'tokens' Vector. Tokens are separated by spaces or dashes, depending on stored
* in 'tokens'. Callers always ensure that start < end; thus, there exists at least one token to be concatenated.
*
- * @param start index of the first token to be concatenated in 'tokens' Vector (always divisible by
- * TOKEN_GROUP_LENGTH).
- * @param end index of the first token not to be concatenated in 'tokens' Vector (always divisible by
- * TOKEN_GROUP_LENGTH).
- * @param offset offset within token group (used to request concatenation of either full tokens or abbreviation).
+ * @param start index of the first token to be concatenated in 'tokens' Vector (always divisible by
+ * TOKEN_GROUP_LENGTH).
+ * @param end index of the first token not to be concatenated in 'tokens' Vector (always divisible by
+ * TOKEN_GROUP_LENGTH).
+ * @param offset offset within token group (used to request concatenation of either full tokens or abbreviation).
* @param dotAfter true -- add period after each token, false --
- * do not add.
+ * do not add.
* @return the result of concatenation.
*/
private String concatTokens(List tokens, int start, int end, int offset, boolean dotAfter) {
diff --git a/jablib/src/main/java/org/jabref/logic/importer/FulltextFetcher.java b/jablib/src/main/java/org/jabref/logic/importer/FulltextFetcher.java
index 7a34df82bc7..c0be6c9a007 100644
--- a/jablib/src/main/java/org/jabref/logic/importer/FulltextFetcher.java
+++ b/jablib/src/main/java/org/jabref/logic/importer/FulltextFetcher.java
@@ -21,8 +21,8 @@ public interface FulltextFetcher {
* @param entry The Bibtex entry
* @return The fulltext PDF URL Optional, if found, or an empty Optional if not found.
* @throws NullPointerException if no BibTex entry is given
- * @throws java.io.IOException if an IO operation has failed
- * @throws FetcherException if a fetcher-specific error occurred
+ * @throws java.io.IOException if an IO operation has failed
+ * @throws FetcherException if a fetcher-specific error occurred
*/
Optional findFullText(@NonNull BibEntry entry) throws IOException, FetcherException;
diff --git a/jablib/src/main/java/org/jabref/logic/importer/IdParserFetcher.java b/jablib/src/main/java/org/jabref/logic/importer/IdParserFetcher.java
index 731287ea503..4174cf131e6 100644
--- a/jablib/src/main/java/org/jabref/logic/importer/IdParserFetcher.java
+++ b/jablib/src/main/java/org/jabref/logic/importer/IdParserFetcher.java
@@ -42,8 +42,8 @@ public interface IdParserFetcher extends IdFetcher, Par
/**
* Extracts the identifier from the list of fetched entries.
*
- * @param inputEntry the entry for which we are searching the identifier (can be used to find closest match in
- * the result)
+ * @param inputEntry the entry for which we are searching the identifier (can be used to find closest match in
+ * the result)
* @param fetchedEntries list of entries returned by the web service
*/
Optional extractIdentifier(BibEntry inputEntry, List fetchedEntries) throws FetcherException;
diff --git a/jablib/src/main/java/org/jabref/logic/importer/ImportFormatReader.java b/jablib/src/main/java/org/jabref/logic/importer/ImportFormatReader.java
index 3d568ee10d3..0f395cb61ad 100644
--- a/jablib/src/main/java/org/jabref/logic/importer/ImportFormatReader.java
+++ b/jablib/src/main/java/org/jabref/logic/importer/ImportFormatReader.java
@@ -173,7 +173,7 @@ public UnknownFormatImport importUnknownFormat(@NonNull Path filePath,
* Tries to import entries by iterating through the available import filters,
* and keeping the import that seems the most promising
*
- * @param importDatabase the function to import the entries with a formatter
+ * @param importDatabase the function to import the entries with a formatter
* @param isRecognizedFormat the function to check whether the source is in the correct format for an importer
* @return an UnknownFormatImport with the imported entries and metadata
* @throws ImportException if the import fails (for example, if no suitable importer is found)
diff --git a/jablib/src/main/java/org/jabref/logic/importer/PagedSearchBasedFetcher.java b/jablib/src/main/java/org/jabref/logic/importer/PagedSearchBasedFetcher.java
index 87a16737db2..e37c891b19a 100644
--- a/jablib/src/main/java/org/jabref/logic/importer/PagedSearchBasedFetcher.java
+++ b/jablib/src/main/java/org/jabref/logic/importer/PagedSearchBasedFetcher.java
@@ -14,7 +14,7 @@
public interface PagedSearchBasedFetcher extends SearchBasedFetcher {
/**
- * @param queryNode first search node
+ * @param queryNode first search node
* @param pageNumber requested site number indexed from 0
* @return Page with search results
*/
@@ -22,7 +22,7 @@ public interface PagedSearchBasedFetcher extends SearchBasedFetcher {
/**
* @param searchQuery query string that can be parsed into a lucene query
- * @param pageNumber requested site number indexed from 0
+ * @param pageNumber requested site number indexed from 0
* @return Page with search results
*/
default Page performSearchPaged(String searchQuery, int pageNumber) throws FetcherException {
diff --git a/jablib/src/main/java/org/jabref/logic/importer/PagedSearchBasedParserFetcher.java b/jablib/src/main/java/org/jabref/logic/importer/PagedSearchBasedParserFetcher.java
index 1987b096cfe..e362f5ad506 100644
--- a/jablib/src/main/java/org/jabref/logic/importer/PagedSearchBasedParserFetcher.java
+++ b/jablib/src/main/java/org/jabref/logic/importer/PagedSearchBasedParserFetcher.java
@@ -40,7 +40,7 @@ private List getBibEntries(URL urlForQuery) throws FetcherException {
/**
* Constructs a URL based on the query, size and page number.
*
- * @param queryNode the first search node
+ * @param queryNode the first search node
* @param pageNumber the number of the page indexed from 0
*/
URL getURLForQuery(BaseQueryNode queryNode, int pageNumber) throws URISyntaxException, MalformedURLException;
diff --git a/jablib/src/main/java/org/jabref/logic/importer/RelatedWorkAnnotator.java b/jablib/src/main/java/org/jabref/logic/importer/RelatedWorkAnnotator.java
new file mode 100644
index 00000000000..0bdfded18c5
--- /dev/null
+++ b/jablib/src/main/java/org/jabref/logic/importer/RelatedWorkAnnotator.java
@@ -0,0 +1,33 @@
+package org.jabref.logic.importer;
+
+import java.util.Optional;
+
+import org.jabref.model.entry.BibEntry;
+import org.jabref.model.entry.field.Field;
+import org.jabref.model.entry.field.FieldFactory;
+
+public class RelatedWorkAnnotator {
+
+ public static void appendSummaryToEntry(
+ BibEntry entry,
+ String username,
+ String citingPaperKey,
+ String summarySentence
+ ) {
+ String fieldName = "comment-" + username;
+ Field commentField = FieldFactory.parseField(fieldName);
+
+ String cleaned = summarySentence.strip();
+ if (!cleaned.endsWith(".")) {
+ cleaned = cleaned + ".";
+ }
+ String formattedBlock = "[" + citingPaperKey + "]: " + cleaned;
+
+ Optional existing = entry.getField(commentField);
+ String newValue = existing
+ .map(old -> old.strip() + "\n\n" + formattedBlock)
+ .orElse(formattedBlock);
+
+ entry.setField(commentField, newValue);
+ }
+}
diff --git a/jablib/src/main/java/org/jabref/logic/importer/fetcher/ArXivFetcher.java b/jablib/src/main/java/org/jabref/logic/importer/fetcher/ArXivFetcher.java
index 3ef4e5dc5eb..7c9f5bd8a59 100644
--- a/jablib/src/main/java/org/jabref/logic/importer/fetcher/ArXivFetcher.java
+++ b/jablib/src/main/java/org/jabref/logic/importer/fetcher/ArXivFetcher.java
@@ -243,10 +243,10 @@ private static Optional waitForBibEntryRetrieval(CompletableFuture> bibEntryFuture, Set priorityFields, String id) {
Optional bibEntry;
@@ -286,7 +286,7 @@ private void inplaceAsyncInfuseArXivWithDoi(BibEntry arXivBibEntry) {
* Infuse arXivBibEntryFuture with additional fields in an asynchronous way, accelerating the process by providing a valid ArXiv ID
*
* @param arXivBibEntryFuture A future entry that (if it exists) will be updated with new/modified fields
- * @param arXivId An ArXiv ID for the main reference (from ArXiv), so that the retrieval of ArXiv-issued DOI metadata can be faster
+ * @param arXivId An ArXiv ID for the main reference (from ArXiv), so that the retrieval of ArXiv-issued DOI metadata can be faster
* @throws FetcherException when failed to fetch the main ArtXiv Bibtex entry ('arXivBibEntryFuture').
*/
private void inplaceAsyncInfuseArXivWithDoi(CompletableFuture> arXivBibEntryFuture, Optional arXivId) throws FetcherException {
@@ -516,10 +516,10 @@ private List queryApi(String searchQuery, List ids,
* {@code ids} that matches {@code searchQuery}. This allows the API to act as a results filter.
*
* @param searchQuery the search query used to find articles;
- * details
- * @param ids a list of arXiv identifiers
- * @param start the index of the first returned result (zero-based)
- * @param maxResults the number of maximal results (has to be smaller than 2000)
+ * details
+ * @param ids a list of arXiv identifiers
+ * @param start the index of the first returned result (zero-based)
+ * @param maxResults the number of maximal results (has to be smaller than 2000)
* @return the response from the API as a XML document (Atom 1.0)
* @throws FetcherException if there was a problem while building the URL or the API was not accessible
*/
diff --git a/jablib/src/main/java/org/jabref/logic/importer/fetcher/ComplexSearchQuery.java b/jablib/src/main/java/org/jabref/logic/importer/fetcher/ComplexSearchQuery.java
index a231eb9bca7..4a380bd4533 100644
--- a/jablib/src/main/java/org/jabref/logic/importer/fetcher/ComplexSearchQuery.java
+++ b/jablib/src/main/java/org/jabref/logic/importer/fetcher/ComplexSearchQuery.java
@@ -290,7 +290,7 @@ public ComplexSearchQueryBuilder terms(Collection terms) {
*
* @return ComplexSearchQuery instance with the fields set to the values defined in the building instance.
* @throws IllegalStateException An IllegalStateException is thrown in case all text search fields are empty.
- * See: https://softwareengineering.stackexchange.com/questions/241309/builder-pattern-when-to-fail/241320#241320
+ * See: https://softwareengineering.stackexchange.com/questions/241309/builder-pattern-when-to-fail/241320#241320
*/
public ComplexSearchQuery build() throws IllegalStateException {
if (textSearchFieldsAndYearFieldsAreEmpty()) {
diff --git a/jablib/src/main/java/org/jabref/logic/importer/fetcher/LOBIDFetcher.java b/jablib/src/main/java/org/jabref/logic/importer/fetcher/LOBIDFetcher.java
index fe9d540d133..42c752821a2 100644
--- a/jablib/src/main/java/org/jabref/logic/importer/fetcher/LOBIDFetcher.java
+++ b/jablib/src/main/java/org/jabref/logic/importer/fetcher/LOBIDFetcher.java
@@ -46,7 +46,7 @@ public class LOBIDFetcher implements PagedSearchBasedParserFetcher, IdBasedParse
/**
* Gets the query URL
*
- * @param queryNode the first parsed node
+ * @param queryNode the first parsed node
* @param pageNumber the number of the page indexed from 0
* @return URL
*/
diff --git a/jablib/src/main/java/org/jabref/logic/importer/fetcher/ResearchGate.java b/jablib/src/main/java/org/jabref/logic/importer/fetcher/ResearchGate.java
index e1e6b5da870..453a201d068 100644
--- a/jablib/src/main/java/org/jabref/logic/importer/fetcher/ResearchGate.java
+++ b/jablib/src/main/java/org/jabref/logic/importer/fetcher/ResearchGate.java
@@ -59,7 +59,7 @@ public ResearchGate(ImportFormatPreferences importFormatPreferences) {
*
* @param entry The Bibtex entry
* @return The fulltext PDF URL Optional, if found, or an empty Optional if not found.
- * @throws IOException if an IO operation has failed
+ * @throws IOException if an IO operation has failed
* @throws FetcherException if the ResearchGate refuses to serve the page
*/
@Override
diff --git a/jablib/src/main/java/org/jabref/logic/importer/fetcher/ScholarArchiveFetcher.java b/jablib/src/main/java/org/jabref/logic/importer/fetcher/ScholarArchiveFetcher.java
index 02fcc30bd52..99663657b5a 100644
--- a/jablib/src/main/java/org/jabref/logic/importer/fetcher/ScholarArchiveFetcher.java
+++ b/jablib/src/main/java/org/jabref/logic/importer/fetcher/ScholarArchiveFetcher.java
@@ -40,7 +40,7 @@ public class ScholarArchiveFetcher implements PagedSearchBasedParserFetcher {
/**
* Gets the query URL by luceneQuery and pageNumber.
*
- * @param queryNode the first node from the parsed query
+ * @param queryNode the first node from the parsed query
* @param pageNumber the number of the page indexed from 0
* @return URL
*/
diff --git a/jablib/src/main/java/org/jabref/logic/importer/fetcher/SemanticScholar.java b/jablib/src/main/java/org/jabref/logic/importer/fetcher/SemanticScholar.java
index 9bfa7fbb3aa..8417a3e48a1 100644
--- a/jablib/src/main/java/org/jabref/logic/importer/fetcher/SemanticScholar.java
+++ b/jablib/src/main/java/org/jabref/logic/importer/fetcher/SemanticScholar.java
@@ -60,7 +60,7 @@ public SemanticScholar(ImporterPreferences importerPreferences) {
*
* @param entry The Bibtex entry
* @return The fulltext PDF URL Optional, if found, or an empty Optional if not found.
- * @throws IOException if a page could not be fetched correctly
+ * @throws IOException if a page could not be fetched correctly
* @throws FetcherException if the received page differs from what was expected
*/
@Override
diff --git a/jablib/src/main/java/org/jabref/logic/importer/fetcher/SpringerNatureWebFetcher.java b/jablib/src/main/java/org/jabref/logic/importer/fetcher/SpringerNatureWebFetcher.java
index fd5b5a0d809..75ecd7a1376 100644
--- a/jablib/src/main/java/org/jabref/logic/importer/fetcher/SpringerNatureWebFetcher.java
+++ b/jablib/src/main/java/org/jabref/logic/importer/fetcher/SpringerNatureWebFetcher.java
@@ -175,7 +175,7 @@ public String getTestUrl() {
/**
* Gets the query URL
*
- * @param queryNode the search query
+ * @param queryNode the search query
* @param pageNumber the number of the page indexed from 0
* @return URL
*/
diff --git a/jablib/src/main/java/org/jabref/logic/importer/fileformat/PdfMergeMetadataImporter.java b/jablib/src/main/java/org/jabref/logic/importer/fileformat/PdfMergeMetadataImporter.java
index c2ad25a3a96..c2c834e3a37 100644
--- a/jablib/src/main/java/org/jabref/logic/importer/fileformat/PdfMergeMetadataImporter.java
+++ b/jablib/src/main/java/org/jabref/logic/importer/fileformat/PdfMergeMetadataImporter.java
@@ -140,10 +140,10 @@ private List fetchIdsOfCandidates(List candidates) {
}
/**
- * @param candidate The BibEntry to look for the field
- * @param field The field to look for
- * @param fetcher The fetcher to use
- * @param fetchedIds The already fetched ids (will be updated)
+ * @param candidate The BibEntry to look for the field
+ * @param field The field to look for
+ * @param fetcher The fetcher to use
+ * @param fetchedIds The already fetched ids (will be updated)
* @param fetchedCandidates New candidate (will be updated)
*/
private void fetchData(BibEntry candidate, StandardField field, IdBasedFetcher fetcher, Set fetchedIds, List fetchedCandidates) {
diff --git a/jablib/src/main/java/org/jabref/logic/importer/fileformat/pdf/PdfContentImporter.java b/jablib/src/main/java/org/jabref/logic/importer/fileformat/pdf/PdfContentImporter.java
index 1e4771e8495..8057c9e0cf0 100644
--- a/jablib/src/main/java/org/jabref/logic/importer/fileformat/pdf/PdfContentImporter.java
+++ b/jablib/src/main/java/org/jabref/logic/importer/fileformat/pdf/PdfContentImporter.java
@@ -316,9 +316,9 @@ private boolean isThereSpace(TextPosition previous, TextPosition current) {
* publisher-specific formats like Springer or IEEE, extracting data like series, volume, and conference titles.
*
* @param firstpageContents The raw content of the PDF's first page, which may contain metadata and main content.
- * @param lineSeparator The line separator used to format and unify line breaks in the text content.
- * @param titleByFontSize An optional title string determined by font size; if provided, this overrides the
- * default title parsing.
+ * @param lineSeparator The line separator used to format and unify line breaks in the text content.
+ * @param titleByFontSize An optional title string determined by font size; if provided, this overrides the
+ * default title parsing.
* @return An {@link Optional} containing a {@link BibEntry} with the parsed bibliographic data if extraction
* is successful. Otherwise, an empty {@link Optional}.
*/
diff --git a/jablib/src/main/java/org/jabref/logic/importer/relatedwork/HeuristicRelatedWorkExtractor.java b/jablib/src/main/java/org/jabref/logic/importer/relatedwork/HeuristicRelatedWorkExtractor.java
new file mode 100644
index 00000000000..553ec82f760
--- /dev/null
+++ b/jablib/src/main/java/org/jabref/logic/importer/relatedwork/HeuristicRelatedWorkExtractor.java
@@ -0,0 +1,262 @@
+package org.jabref.logic.importer.relatedwork;
+
+import java.text.Normalizer;
+import java.util.HashMap;
+import java.util.LinkedHashMap;
+import java.util.List;
+import java.util.Locale;
+import java.util.Map;
+import java.util.Optional;
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
+
+import org.jabref.model.entry.BibEntry;
+import org.jabref.model.entry.field.StandardField;
+
+/**
+ * Deterministic extractor for author–year style citations in "Related Work" sections.
+ * Handles single and multi-citation parentheticals, including diacritics and all-caps acronyms (e.g., CIA, Šimić).
+ */
+public class HeuristicRelatedWorkExtractor implements RelatedWorkExtractor {
+
+ // Headings like "1.4 Related work", "RELATED WORK", etc. (case-insensitive)
+ private static final Pattern RELATED_WORK_HEADING =
+ Pattern.compile("(?im)^(\\d+(?:\\.\\d+)*)?\\s*related\\s+work[s]?\\s*[:\\-]?$");
+
+ // Any parenthetical block; author-year pairs are mined inside it.
+ private static final Pattern PAREN_BLOCK = Pattern.compile("\\(([^)]+)\\)");
+
+ // Unicode-aware author–year inside a parenthetical.
+ // Allows all-caps acronyms like "CIA" and Unicode surnames like "Šimić".
+ // \p{Lu} = uppercase letter, \p{L} = any letter, \p{M} = combining mark.
+ private static final Pattern AUTHOR_YEAR_INNER = Pattern.compile(
+ "(?U)" // enable Unicode character classes
+ + "(\\p{Lu}[\\p{L}\\p{M}'\\-]*)" // 1: first author token (can be acronym or surname)
+ + "(?:\\s+(?:et\\s+al\\.)|\\s*(?:&|and)\\s+\\p{Lu}[\\p{L}\\p{M}'\\-]+)?"
+ + "\\s*,?\\s*"
+ + "(\\d{4})([a-z]?)" // 2: year, 3: optional trailing letter
+ );
+
+ @Override
+ public Map extract(String fullText, List bibliography) {
+ String related = sliceRelatedWorkSection(fullText);
+ Map index = buildIndex(bibliography);
+ Map out = new LinkedHashMap<>();
+
+ Matcher paren = PAREN_BLOCK.matcher(related);
+ while (paren.find()) {
+ String inner = paren.group(1);
+ Matcher cite = AUTHOR_YEAR_INNER.matcher(inner);
+
+ while (cite.find()) {
+ String citedToken = normalizeSurname(cite.group(1)); // e.g., "cia" or "nash"
+ String yearDigits = cite.group(2); // ignore group(3) letter
+ String citedKey = findKeyFor(citedToken, yearDigits, index);
+ if (citedKey == null || out.containsKey(citedKey)) {
+ continue;
+ }
+
+ String snippet = expandToSentenceLikeSpan(related, paren.start(), paren.end());
+ snippet = pruneTrailingCitationTail(snippet).trim();
+
+ if (!snippet.endsWith(".")) {
+ snippet = snippet + ".";
+ }
+ if (snippet.length() > 300) {
+ snippet = snippet.substring(0, 300) + "...";
+ }
+
+ out.put(citedKey, snippet);
+ }
+ }
+
+ return out;
+ }
+
+ /**
+ * Try to isolate the "Related work" section; fallback to full text.
+ */
+ private String sliceRelatedWorkSection(String text) {
+ Matcher start = RELATED_WORK_HEADING.matcher(text);
+ int begin = -1;
+ while (start.find()) {
+ begin = start.end();
+ break;
+ }
+ if (begin < 0) {
+ return text; // fallback: whole text
+ }
+
+ // Next likely section heading AFTER begin (numbered or ALL-CAPS)
+ Pattern nextSection = Pattern.compile(
+ "(?m)^(?:\\d+(?:\\.\\d+)*)\\s+[A-Z][A-Z\\s\\-]{3,}$|^[A-Z][A-Z\\s\\-]{3,}$");
+ Matcher end = nextSection.matcher(text);
+ int stop = text.length();
+ while (end.find()) {
+ if (end.start() > begin) {
+ stop = end.start();
+ break;
+ }
+ }
+ return text.substring(begin, stop);
+ }
+
+ /**
+ * Build index keyed by:
+ * - normalized first-author surname + year, e.g., "nash2022"
+ * - AND (when applicable) a corporate/phrase acronym + year, e.g., "cia2021"
+ */
+ private Map buildIndex(List bibs) {
+ Map idx = new HashMap<>();
+ for (BibEntry b : bibs) {
+ Optional y = b.getField(StandardField.YEAR);
+ if (y.isEmpty()) {
+ Optional date = b.getField(StandardField.DATE);
+ if (date.isPresent()) {
+ Matcher m = Pattern.compile("(\\d{4})").matcher(date.get());
+ if (m.find()) {
+ y = Optional.of(m.group(1));
+ }
+ }
+ }
+ Optional a = b.getField(StandardField.AUTHOR);
+ if (y.isEmpty() || a.isEmpty()) {
+ continue;
+ }
+ String yearDigits = y.get().replaceAll("[^0-9]", "");
+ if (yearDigits.isEmpty()) {
+ continue;
+ }
+
+ String firstAuthor = firstAuthorRaw(a.get());
+ String firstSurname = extractFirstSurnameFromRaw(firstAuthor);
+ if (!firstSurname.isEmpty()) {
+ idx.put(normalizeSurname(firstSurname) + yearDigits, b);
+ }
+
+ // Also index acronym for corporate/multi-word first author without comma.
+ String acronym = maybeAcronym(firstAuthor);
+ if (!acronym.isEmpty()) {
+ idx.put(acronym + yearDigits, b);
+ }
+ }
+ return idx;
+ }
+
+ /**
+ * Get the raw first author string (before surname extraction).
+ */
+ private String firstAuthorRaw(String authorField) {
+ return authorField.split("\\s+and\\s+")[0].trim();
+ }
+
+ /**
+ * Extract the first author surname from a raw first-author token.
+ */
+ private String extractFirstSurnameFromRaw(String firstAuthor) {
+ if (firstAuthor.contains(",")) {
+ return firstAuthor.substring(0, firstAuthor.indexOf(',')).trim();
+ }
+ if (firstAuthor.startsWith("{") && firstAuthor.endsWith("}")) {
+ String inner = firstAuthor.substring(1, firstAuthor.length() - 1).trim();
+ String[] parts = inner.split("\\s+");
+ return parts.length == 0 ? "" : parts[parts.length - 1];
+ }
+ String[] parts = firstAuthor.split("\\s+");
+ return parts.length == 0 ? "" : parts[parts.length - 1];
+ }
+
+ /**
+ * Produce an acronym (e.g., "Central Intelligence Agency" -> "cia") when the first author
+ * looks like a corporate/multi-word name. We avoid personal-name forms with a comma.
+ */
+ private String maybeAcronym(String firstAuthor) {
+ if (firstAuthor.contains(",")) {
+ return ""; // likely "Surname, Given" → skip acronym
+ }
+ String unbraced = firstAuthor;
+ if (unbraced.startsWith("{") && unbraced.endsWith("}")) {
+ unbraced = unbraced.substring(1, unbraced.length() - 1);
+ }
+ String[] parts = unbraced.trim().split("\\s+");
+ if (parts.length < 2) {
+ return ""; // single token → not helpful
+ }
+ StringBuilder sb = new StringBuilder();
+ for (String p : parts) {
+ if (p.isEmpty()) {
+ continue;
+ }
+ char c = p.charAt(0);
+ if (Character.isLetter(c)) {
+ sb.append(Character.toLowerCase(c));
+ }
+ }
+ return sb.toString();
+ }
+
+ /**
+ * Normalize token: remove braces, strip diacritics, lowercase.
+ */
+ private String normalizeSurname(String s) {
+ String noBraces = s.replace("{", "").replace("}", "");
+ String normalized = Normalizer.normalize(noBraces, Normalizer.Form.NFD)
+ .replaceAll("\\p{M}+", "");
+ return normalized.toLowerCase(Locale.ROOT);
+ }
+
+ /**
+ * Lookup by normalized token (surname or acronym) + 4-digit year.
+ */
+ private String findKeyFor(String lowerToken, String yearDigits, Map index) {
+ BibEntry entry = index.get(lowerToken + yearDigits);
+ return (entry != null) ? entry.getCitationKey().orElse(null) : null; // ok to return null to signal "not found"
+ }
+
+ /**
+ * Expand to a sentence-like span around the parenthetical match.
+ */
+ private String expandToSentenceLikeSpan(String text, int matchStart, int matchEnd) {
+ int left = matchStart;
+ while (left > 0) {
+ char c = text.charAt(left - 1);
+ if (c == '.' || c == '!' || c == '?' || c == '\n') {
+ break;
+ }
+ left--;
+ }
+ int right = matchEnd;
+ int len = text.length();
+ while (right < len) {
+ char c = text.charAt(right);
+ if (c == '.' || c == '!' || c == '?' || c == '\n') {
+ right++; // include the boundary char
+ break;
+ }
+ right++;
+ }
+ if (right > len) {
+ right = len;
+ }
+ return text.substring(left, right);
+ }
+
+ /**
+ * Heuristically remove trailing citation trains at the end of a snippet,
+ * e.g., "... (Smith, 2019; Doe 2020)." → keep text up to the ')'.
+ */
+ private String pruneTrailingCitationTail(String s) {
+ int lastParen = s.lastIndexOf(')');
+ if (lastParen > -1 && lastParen >= s.length() - 3) {
+ String head = s.substring(0, lastParen + 1).trim();
+ if (head.endsWith(").")) {
+ return head;
+ }
+ if (head.endsWith(")")) {
+ return head + ".";
+ }
+ return head;
+ }
+ return s;
+ }
+}
diff --git a/jablib/src/main/java/org/jabref/logic/importer/relatedwork/RelatedWorkExtractor.java b/jablib/src/main/java/org/jabref/logic/importer/relatedwork/RelatedWorkExtractor.java
new file mode 100644
index 00000000000..efa031f8e63
--- /dev/null
+++ b/jablib/src/main/java/org/jabref/logic/importer/relatedwork/RelatedWorkExtractor.java
@@ -0,0 +1,20 @@
+package org.jabref.logic.importer.relatedwork;
+
+import java.util.List;
+import java.util.Map;
+
+import org.jabref.model.entry.BibEntry;
+
+/**
+ * Interface for components that extract citation summaries from a paper's text.
+ */
+public interface RelatedWorkExtractor {
+ /**
+ * Extracts a mapping from cited paper keys to short summary sentences from the "Related Work" section.
+ *
+ * @param fullText full text of the citing paper
+ * @param bibliography list of BibEntries referenced by the citing paper
+ * @return map from citation key (of cited paper) to its descriptive summary text
+ */
+ Map extract(String fullText, List bibliography);
+}
diff --git a/jablib/src/main/java/org/jabref/logic/importer/relatedwork/RelatedWorkHarvester.java b/jablib/src/main/java/org/jabref/logic/importer/relatedwork/RelatedWorkHarvester.java
new file mode 100644
index 00000000000..fab79cc509a
--- /dev/null
+++ b/jablib/src/main/java/org/jabref/logic/importer/relatedwork/RelatedWorkHarvester.java
@@ -0,0 +1,81 @@
+package org.jabref.logic.importer.relatedwork;
+
+import java.util.List;
+import java.util.Map;
+import java.util.Optional;
+import java.util.function.Consumer;
+
+import org.jabref.logic.importer.RelatedWorkAnnotator;
+import org.jabref.model.entry.BibEntry;
+
+public class RelatedWorkHarvester {
+
+ private final RelatedWorkExtractor extractor;
+
+ public RelatedWorkHarvester(RelatedWorkExtractor extractor) {
+ this.extractor = extractor;
+ }
+
+ /**
+ * Existing API
+ */
+ public void harvestAndAnnotate(
+ String username,
+ String citingPaperKey,
+ String fullText,
+ List bibliography,
+ Consumer addOrUpdateFn
+ ) {
+ annotateInternal(username, citingPaperKey, fullText, bibliography, addOrUpdateFn);
+ }
+
+ /**
+ * Test-friendly: returns number of entries annotated.
+ */
+ public int harvestAndAnnotateCount(
+ String username,
+ String citingPaperKey,
+ String fullText,
+ List bibliography,
+ Consumer addOrUpdateFn
+ ) {
+ return annotateInternal(username, citingPaperKey, fullText, bibliography, addOrUpdateFn);
+ }
+
+ private int annotateInternal(
+ String username,
+ String citingPaperKey,
+ String fullText,
+ List bibliography,
+ Consumer addOrUpdateFn
+ ) {
+ Map summaries = extractor.extract(fullText, bibliography);
+ int updated = 0;
+
+ for (Map.Entry e : summaries.entrySet()) {
+ String citedKey = e.getKey();
+ String summary = e.getValue();
+
+ BibEntry entry = findOrCreateEntry(citedKey, bibliography, addOrUpdateFn);
+ RelatedWorkAnnotator.appendSummaryToEntry(entry, username, citingPaperKey, summary);
+ addOrUpdateFn.accept(entry);
+ updated++;
+ }
+ return updated;
+ }
+
+ private BibEntry findOrCreateEntry(String key, List bibs, Consumer addOrUpdateFn) {
+ Optional found = bibs.stream()
+ .filter(b -> b.getCitationKey().orElse("").equals(key))
+ .findFirst();
+
+ if (found.isPresent()) {
+ return found.get();
+ }
+
+ BibEntry newEntry = new BibEntry();
+ newEntry.setCitationKey(key);
+ addOrUpdateFn.accept(newEntry);
+ return newEntry;
+ }
+}
diff --git a/jablib/src/main/java/org/jabref/logic/importer/util/MetaDataParser.java b/jablib/src/main/java/org/jabref/logic/importer/util/MetaDataParser.java
index 87d796d0153..8a900896727 100644
--- a/jablib/src/main/java/org/jabref/logic/importer/util/MetaDataParser.java
+++ b/jablib/src/main/java/org/jabref/logic/importer/util/MetaDataParser.java
@@ -270,7 +270,7 @@ public static FieldFormatterCleanups fieldFormatterCleanupsParse(List fo
/**
* Handles a blgFilePath-* metadata entry. Expects exactly one valid path.
*
- * @param entry the metadata entry containing the user-specific .blg path.
+ * @param entry the metadata entry containing the user-specific .blg path.
* @param metaData the MetaData object to update.
*/
private void handleBlgFilePathEntry(Map.Entry entry, MetaData metaData) {
diff --git a/jablib/src/main/java/org/jabref/logic/journals/AbbreviationWriter.java b/jablib/src/main/java/org/jabref/logic/journals/AbbreviationWriter.java
index e60954c521b..4b0894bedae 100644
--- a/jablib/src/main/java/org/jabref/logic/journals/AbbreviationWriter.java
+++ b/jablib/src/main/java/org/jabref/logic/journals/AbbreviationWriter.java
@@ -21,7 +21,7 @@ private AbbreviationWriter() {
* This method will write the list of abbreviations to a file on the file system specified by the given path. If the
* file already exists its content will be overridden, otherwise a new file will be created.
*
- * @param path to a file (doesn't have to exist just yet)
+ * @param path to a file (doesn't have to exist just yet)
* @param abbreviations as a list specifying which entries should be written
*/
public static void writeOrCreate(Path path, List abbreviations) throws IOException {
diff --git a/jablib/src/main/java/org/jabref/logic/journals/JournalAbbreviationRepository.java b/jablib/src/main/java/org/jabref/logic/journals/JournalAbbreviationRepository.java
index 7b65c7ce98a..e7be6de747d 100644
--- a/jablib/src/main/java/org/jabref/logic/journals/JournalAbbreviationRepository.java
+++ b/jablib/src/main/java/org/jabref/logic/journals/JournalAbbreviationRepository.java
@@ -36,7 +36,7 @@ public class JournalAbbreviationRepository {
/**
* Initializes the internal data based on the abbreviations found in the given MV file
*
- * @param journalList The path to the MV file containing the journal abbreviations.
+ * @param journalList The path to the MV file containing the journal abbreviations.
* @param ltwaRepository The LTWA repository to use for abbreviations.
*/
public JournalAbbreviationRepository(Path journalList, LtwaRepository ltwaRepository) {
diff --git a/jablib/src/main/java/org/jabref/logic/journals/ltwa/LtwaEntry.java b/jablib/src/main/java/org/jabref/logic/journals/ltwa/LtwaEntry.java
index c513d064f6e..6379cecda1a 100644
--- a/jablib/src/main/java/org/jabref/logic/journals/ltwa/LtwaEntry.java
+++ b/jablib/src/main/java/org/jabref/logic/journals/ltwa/LtwaEntry.java
@@ -8,13 +8,13 @@
* Each entry contains a word, its abbreviation, and the languages it applies
* to.
*
- * @param word The word to be abbreviated
+ * @param word The word to be abbreviated
* @param abbreviation The abbreviation for the word
- * @param languages A list of language codes that the abbreviation applies to
- * If "mul" is present, it indicates that the abbreviation
- * applies to multiple languages.
- * Otherwise, it contains specific language codes (e.g.,
- * "eng", "fre", "deu").
+ * @param languages A list of language codes that the abbreviation applies to
+ * If "mul" is present, it indicates that the abbreviation
+ * applies to multiple languages.
+ * Otherwise, it contains specific language codes (e.g.,
+ * "eng", "fre", "deu").
*/
public record LtwaEntry(
String word,
diff --git a/jablib/src/main/java/org/jabref/logic/l10n/Localization.java b/jablib/src/main/java/org/jabref/logic/l10n/Localization.java
index 49dcb660911..d49721de738 100644
--- a/jablib/src/main/java/org/jabref/logic/l10n/Localization.java
+++ b/jablib/src/main/java/org/jabref/logic/l10n/Localization.java
@@ -44,7 +44,7 @@ private Localization() {
/**
* Public access to all messages that are not menu-entries
*
- * @param key The key of the message in unescaped form like "All fields"
+ * @param key The key of the message in unescaped form like "All fields"
* @param params Replacement strings for parameters %0, %1, etc.
* @return The message with replaced parameters
*/
@@ -135,7 +135,7 @@ private static Map createLookupMap(ResourceBundle baseBundle) {
* the keys are the "unescaped" strings from the bundle property files.
*
* @param bundle The {@link LocalizationBundle} which is usually {@link Localization#localizedMessages}.
- * @param key The lookup key.
+ * @param key The lookup key.
* @param params The parameters that should be inserted into the message
* @return The final message with replaced parameters.
*/
diff --git a/jablib/src/main/java/org/jabref/logic/layout/format/RTFChars.java b/jablib/src/main/java/org/jabref/logic/layout/format/RTFChars.java
index 5d0acbea2ba..2e3464670ac 100644
--- a/jablib/src/main/java/org/jabref/logic/layout/format/RTFChars.java
+++ b/jablib/src/main/java/org/jabref/logic/layout/format/RTFChars.java
@@ -161,8 +161,8 @@ public String format(String field) {
}
/**
- * @param text the text to extract the part from
- * @param i the position to start
+ * @param text the text to extract the part from
+ * @param i the position to start
* @param commandNestedInBraces true if the command is nested in braces (\emph{xy}), false if spaces are sued (\emph xy)
* @return a tuple of number of added characters and the extracted part
*/
diff --git a/jablib/src/main/java/org/jabref/logic/msbib/MSBibDatabase.java b/jablib/src/main/java/org/jabref/logic/msbib/MSBibDatabase.java
index d869cc56c8e..e18751eae13 100644
--- a/jablib/src/main/java/org/jabref/logic/msbib/MSBibDatabase.java
+++ b/jablib/src/main/java/org/jabref/logic/msbib/MSBibDatabase.java
@@ -53,7 +53,7 @@ public MSBibDatabase() {
* Directly converts the given entries.
*
* @param database The bib database
- * @param entries List of {@link BibEntry}
+ * @param entries List of {@link BibEntry}
*/
public MSBibDatabase(BibDatabase database, List entries) {
this();
diff --git a/jablib/src/main/java/org/jabref/logic/net/URLDownload.java b/jablib/src/main/java/org/jabref/logic/net/URLDownload.java
index 1339fd975ac..864be81cff2 100644
--- a/jablib/src/main/java/org/jabref/logic/net/URLDownload.java
+++ b/jablib/src/main/java/org/jabref/logic/net/URLDownload.java
@@ -228,7 +228,7 @@ public static String asString(URLConnection existingConnection) throws FetcherEx
/**
* Downloads the web resource to a String.
*
- * @param encoding the desired String encoding
+ * @param encoding the desired String encoding
* @param connection an existing connection
* @return the downloaded string
*/
diff --git a/jablib/src/main/java/org/jabref/logic/openoffice/ReferenceMark.java b/jablib/src/main/java/org/jabref/logic/openoffice/ReferenceMark.java
index 89a86c9ff49..19eda50fce6 100644
--- a/jablib/src/main/java/org/jabref/logic/openoffice/ReferenceMark.java
+++ b/jablib/src/main/java/org/jabref/logic/openoffice/ReferenceMark.java
@@ -30,10 +30,10 @@ public class ReferenceMark {
/**
* @param name Allowed formats:
- * Single entry: JABREF_{citationKey} CID_{citationNumber} {uniqueId}
- * Group of entries: JABREF_{citationKey1} CID_{citationNumber1}, JABREF_{citationKey2} CID_{citationNumber2}, ..., JABREF_{citationKeyN} CID_{citationNumberN} {uniqueId}
- * Disallowed: JABREF_{citationKey} CID_{citationNumber} (no unique ID at the end)
- * Disallowed: JABREF_{citationKey1} CID_{citationNumber1} JABREF_{citationKey2} CID_{citationNumber2} {uniqueId} (no comma between entries)
+ * Single entry: JABREF_{citationKey} CID_{citationNumber} {uniqueId}
+ * Group of entries: JABREF_{citationKey1} CID_{citationNumber1}, JABREF_{citationKey2} CID_{citationNumber2}, ..., JABREF_{citationKeyN} CID_{citationNumberN} {uniqueId}
+ * Disallowed: JABREF_{citationKey} CID_{citationNumber} (no unique ID at the end)
+ * Disallowed: JABREF_{citationKey1} CID_{citationNumber1} JABREF_{citationKey2} CID_{citationNumber2} {uniqueId} (no comma between entries)
*/
public ReferenceMark(String name) {
this.name = name;
diff --git a/jablib/src/main/java/org/jabref/logic/openoffice/action/EditInsert.java b/jablib/src/main/java/org/jabref/logic/openoffice/action/EditInsert.java
index 26e577f43df..df53715f13b 100644
--- a/jablib/src/main/java/org/jabref/logic/openoffice/action/EditInsert.java
+++ b/jablib/src/main/java/org/jabref/logic/openoffice/action/EditInsert.java
@@ -49,7 +49,7 @@ private static String insertEntryGetCitationKey(BibEntry entry) {
}
/**
- * @param cursor Where to insert.
+ * @param cursor Where to insert.
* @param pageInfo A single pageInfo for a list of entries. This is what we get from the GUI.
*/
public static void insertCitationGroup(XTextDocument doc,
diff --git a/jablib/src/main/java/org/jabref/logic/openoffice/action/EditMerge.java b/jablib/src/main/java/org/jabref/logic/openoffice/action/EditMerge.java
index a5e6bc59f51..3dc6e7eda5b 100644
--- a/jablib/src/main/java/org/jabref/logic/openoffice/action/EditMerge.java
+++ b/jablib/src/main/java/org/jabref/logic/openoffice/action/EditMerge.java
@@ -94,7 +94,7 @@ public static boolean mergeCitationGroups(XTextDocument doc, OOFrontend frontend
}
/**
- * @param group A list of consecutive citation groups only separated by spaces.
+ * @param group A list of consecutive citation groups only separated by spaces.
* @param groupCursor A cursor covering the XTextRange of each entry in group (and the spaces between them)
*/
private record JoinableGroupData(List group, XTextCursor groupCursor) {
@@ -138,7 +138,7 @@ void reset() {
/**
* Decide if group could be added to state.currentGroup
*
- * @param group The CitationGroup to test
+ * @param group The CitationGroup to test
* @param currentRange The XTextRange corresponding to group.
* @return false if cannot add, true if can. If returned true, then state.cursorBetween and state.currentGroupCursor are expanded to end at the start of currentRange.
*/
diff --git a/jablib/src/main/java/org/jabref/logic/openoffice/backend/Backend52.java b/jablib/src/main/java/org/jabref/logic/openoffice/backend/Backend52.java
index 12e35692b81..088d29f17a8 100644
--- a/jablib/src/main/java/org/jabref/logic/openoffice/backend/Backend52.java
+++ b/jablib/src/main/java/org/jabref/logic/openoffice/backend/Backend52.java
@@ -159,9 +159,9 @@ public CitationGroup readCitationGroupFromDocumentOrThrow(XTextDocument doc, Str
*
* On return {@code position} is collapsed, and is after the inserted space, or at the end of the reference mark.
*
- * @param citationKeys Keys to be cited.
- * @param pageInfos An optional pageInfo for each citation key. Backend52 only uses and stores the last pageInfo, all others should be Optional.empty()
- * @param position Collapsed to its end.
+ * @param citationKeys Keys to be cited.
+ * @param pageInfos An optional pageInfo for each citation key. Backend52 only uses and stores the last pageInfo, all others should be Optional.empty()
+ * @param position Collapsed to its end.
* @param insertSpaceAfter We insert a space after the mark, that carries on format of characters from the original position.
*/
public CitationGroup createCitationGroup(XTextDocument doc,
diff --git a/jablib/src/main/java/org/jabref/logic/openoffice/backend/Codec52.java b/jablib/src/main/java/org/jabref/logic/openoffice/backend/Codec52.java
index 184bc38be5d..0e7b19eafb6 100644
--- a/jablib/src/main/java/org/jabref/logic/openoffice/backend/Codec52.java
+++ b/jablib/src/main/java/org/jabref/logic/openoffice/backend/Codec52.java
@@ -81,13 +81,13 @@ private static int citationTypeToInt(CitationType type) {
/**
* Produce a reference mark name for JabRef for the given citationType and list citation keys that does not yet appear among the reference marks of the document.
*
- * @param usedNames Reference mark names already in use.
+ * @param usedNames Reference mark names already in use.
* @param citationKeys Identifies the cited sources.
* @param citationType Encodes the effect of withText and inParenthesis options.
- *
- * The first occurrence of citationKeys gets no serial number, the second gets 0, the third 1 ...
- *
- * Or the first unused in this series, after removals.
+ *
+ * The first occurrence of citationKeys gets no serial number, the second gets 0, the third 1 ...
+ *
+ * Or the first unused in this series, after removals.
*/
public static String getUniqueMarkName(Set usedNames,
List citationKeys,
diff --git a/jablib/src/main/java/org/jabref/logic/openoffice/backend/GetContext.java b/jablib/src/main/java/org/jabref/logic/openoffice/backend/GetContext.java
index cad4ca6a640..5a9d2e78f10 100644
--- a/jablib/src/main/java/org/jabref/logic/openoffice/backend/GetContext.java
+++ b/jablib/src/main/java/org/jabref/logic/openoffice/backend/GetContext.java
@@ -20,7 +20,7 @@ private GetContext() {
* The actual context may be smaller than requested.
*
* @param charBefore Number of characters requested.
- * @param charAfter Number of characters requested.
+ * @param charAfter Number of characters requested.
* @param htmlMarkup If true, the text belonging to the reference mark is surrounded by bold html tag.
*/
public static String getCursorStringWithContext(XTextCursor cursor,
diff --git a/jablib/src/main/java/org/jabref/logic/openoffice/backend/NamedRangeReferenceMark.java b/jablib/src/main/java/org/jabref/logic/openoffice/backend/NamedRangeReferenceMark.java
index ee2497ed2e8..9c0991f2941 100644
--- a/jablib/src/main/java/org/jabref/logic/openoffice/backend/NamedRangeReferenceMark.java
+++ b/jablib/src/main/java/org/jabref/logic/openoffice/backend/NamedRangeReferenceMark.java
@@ -54,7 +54,7 @@ String getId() {
*
* The pattern used is: {@code safeInsertSpaces(n): para, para, left, space(n), right-delete, left(n), left-delete}
*
- * @param position Where to insert (at position.getStart())
+ * @param position Where to insert (at position.getStart())
* @param numSpaces Number of spaces to insert.
* @return a new cursor, covering the just-inserted spaces.
*/
diff --git a/jablib/src/main/java/org/jabref/logic/openoffice/frontend/OOFrontend.java b/jablib/src/main/java/org/jabref/logic/openoffice/frontend/OOFrontend.java
index 75859249cb1..1977f02a019 100644
--- a/jablib/src/main/java/org/jabref/logic/openoffice/frontend/OOFrontend.java
+++ b/jablib/src/main/java/org/jabref/logic/openoffice/frontend/OOFrontend.java
@@ -195,9 +195,9 @@ private List getVisuallySortedCitationGroups(XTextDocument doc,
*
* On return {@code position} is collapsed, and is after the inserted space, or at the end of the reference mark.
*
- * @param citationKeys In storage order
- * @param pageInfos In storage order
- * @param position Collapsed to its end.
+ * @param citationKeys In storage order
+ * @param pageInfos In storage order
+ * @param position Collapsed to its end.
* @param insertSpaceAfter If true, we insert a space after the mark, that carries on format of characters from the original position.
*/
public CitationGroup createCitationGroup(XTextDocument doc,
@@ -439,7 +439,7 @@ static String rangeOverlapsToMessage(List checkRangeOverlaps(XTextDocument doc,
List> userRanges,
diff --git a/jablib/src/main/java/org/jabref/logic/openoffice/frontend/UpdateCitationMarkers.java b/jablib/src/main/java/org/jabref/logic/openoffice/frontend/UpdateCitationMarkers.java
index 722b767cff6..13156b22f18 100644
--- a/jablib/src/main/java/org/jabref/logic/openoffice/frontend/UpdateCitationMarkers.java
+++ b/jablib/src/main/java/org/jabref/logic/openoffice/frontend/UpdateCitationMarkers.java
@@ -89,9 +89,9 @@ public static void fillCitationMarkInCursor(XTextDocument doc,
/**
* Inserts a citation group in the document: creates and fills it.
*
- * @param citationKeys BibTeX keys of
- * @param citationText Text for the citation. A citation mark or placeholder if not yet available.
- * @param position Location to insert at.
+ * @param citationKeys BibTeX keys of
+ * @param citationText Text for the citation. A citation mark or placeholder if not yet available.
+ * @param position Location to insert at.
* @param insertSpaceAfter A space inserted after the reference mark makes it easier to separate from the text coming after. But is not wanted when we recreate a reference mark.
*/
public static void createAndFillCitationGroup(OOFrontend frontend,
diff --git a/jablib/src/main/java/org/jabref/logic/openoffice/oocsltext/CSLFormatUtils.java b/jablib/src/main/java/org/jabref/logic/openoffice/oocsltext/CSLFormatUtils.java
index aa6263fab7c..aad3c6974d7 100644
--- a/jablib/src/main/java/org/jabref/logic/openoffice/oocsltext/CSLFormatUtils.java
+++ b/jablib/src/main/java/org/jabref/logic/openoffice/oocsltext/CSLFormatUtils.java
@@ -179,7 +179,7 @@ public static String generateAlphanumericInTextCitation(BibEntry entry, BibDatab
*
* Precondition: Use ONLY with numeric citation styles.
*
- * @param citation the numeric citation with an unresolved number.
+ * @param citation the numeric citation with an unresolved number.
* @param currentNumber the correct number to update the citation with.
* @return the bibliographic citation with resolved number.
*/
diff --git a/jablib/src/main/java/org/jabref/logic/openoffice/style/JStyle.java b/jablib/src/main/java/org/jabref/logic/openoffice/style/JStyle.java
index b31dee9bbbe..3661ce3b80a 100644
--- a/jablib/src/main/java/org/jabref/logic/openoffice/style/JStyle.java
+++ b/jablib/src/main/java/org/jabref/logic/openoffice/style/JStyle.java
@@ -765,16 +765,16 @@ public OOText getNormalizedCitationMarker(CitationMarkerNormEntry entry) {
* each other, this method will perform a grouping of these
* entries.
*
- * @param citationMarkerEntries The list of entries providing the
- * data.
- * @param inParenthesis Signals whether a parenthesized citation
- * or an in-text citation is wanted.
+ * @param citationMarkerEntries The list of entries providing the
+ * data.
+ * @param inParenthesis Signals whether a parenthesized citation
+ * or an in-text citation is wanted.
* @param nonUniqueCitationMarkerHandling THROWS : Should throw if finds that uniqueLetters
- * provided do not make the entries unique.
- *
- * FORGIVEN : is needed to allow preliminary markers
- * for freshly inserted citations without
- * going throw the uniquefication process.
+ * provided do not make the entries unique.
+ *
+ * FORGIVEN : is needed to allow preliminary markers
+ * for freshly inserted citations without
+ * going throw the uniquefication process.
* @return The formatted citation. The result does not include
* the standard wrappers:
* OOFormat.setLocaleNone() and OOFormat.setCharStyle().
diff --git a/jablib/src/main/java/org/jabref/logic/openoffice/style/JStyleGetCitationMarker.java b/jablib/src/main/java/org/jabref/logic/openoffice/style/JStyleGetCitationMarker.java
index b55f7e5080c..6ae2399522a 100644
--- a/jablib/src/main/java/org/jabref/logic/openoffice/style/JStyleGetCitationMarker.java
+++ b/jablib/src/main/java/org/jabref/logic/openoffice/style/JStyleGetCitationMarker.java
@@ -36,7 +36,7 @@ private JStyleGetCitationMarker() {
* of the name (followed by a space) if there is one.
*
* @param authorList The author list.
- * @param number The number of the author to return.
+ * @param number The number of the author to return.
* @return The author name, or an empty String if inapplicable.
*/
private static String getAuthorLastName(AuthorList authorList, int number) {
@@ -66,15 +66,15 @@ private static String markupAuthorName(JStyle style, String name) {
/**
* @param authorList Parsed list of authors.
* @param maxAuthors The maximum number of authors to write out.
- * If there are more authors, then ET_AL_STRING is emitted
- * to mark their omission.
- * Set to -1 to write out all authors.
- *
- * maxAuthors=0 is pointless, now throws IllegalArgumentException
- * (Earlier it behaved as maxAuthors=1)
- *
- * maxAuthors less than -1 : throw IllegalArgumentException
- * @param andString For "A, B[ and ]C"
+ * If there are more authors, then ET_AL_STRING is emitted
+ * to mark their omission.
+ * Set to -1 to write out all authors.
+ *
+ * maxAuthors=0 is pointless, now throws IllegalArgumentException
+ * (Earlier it behaved as maxAuthors=1)
+ *
+ * maxAuthors less than -1 : throw IllegalArgumentException
+ * @param andString For "A, B[ and ]C"
* @return "Au[AS]Bu[AS]Cu[OXFORD_COMMA][andString]Du[yearSep]"
* or "Au[etAlString][yearSep]"
*
@@ -245,14 +245,14 @@ private static Optional getRawCitationMarkerField(@NonNull BibE
* empty.
*
* @param fields A list of fields, to look up, using first nonempty hit.
- *
- * If backup fields are needed, separate field
- * names by /.
- *
- * E.g. to use "author" with "editor" as backup,
- * specify
- * FieldFactory.serializeOrFields(StandardField.AUTHOR,
- * StandardField.EDITOR)
+ *
+ * If backup fields are needed, separate field
+ * names by /.
+ *
+ * E.g. to use "author" with "editor" as backup,
+ * specify
+ * FieldFactory.serializeOrFields(StandardField.AUTHOR,
+ * StandardField.EDITOR)
* @return The resolved field content, or an empty string if the
* field(s) were empty.
*
@@ -328,32 +328,32 @@ private static int calculateNAuthorsToEmit(JStyle style, CitationMarkerEntry ent
/**
* Produce (Author, year) or "Author (year)" style citation strings.
*
- * @param purpose IN_PARENTHESIS and NORMALIZED puts parentheses around the whole,
- * IN_TEXT around each (year,uniqueLetter,pageInfo) part.
- *
- * NORMALIZED omits uniqueLetter and pageInfo,
- * ignores isFirstAppearanceOfSource (always
- * style.getMaxAuthors, not getMaxAuthorsFirst)
- * @param entries The list of CitationMarkerEntry values to process.
- *
- * Here we do not check for duplicate entries: those
- * are handled by {@code getCitationMarker} by
- * omitting them from the list.
- *
- * Unresolved citations recognized by
- * entry.getBibEntry() and/or
- * entry.getDatabase() returning empty, and
- * emitted as "Unresolved${citationKey}".
- *
- * Neither uniqueLetter nor pageInfo are emitted
- * for unresolved citations.
- * @param startsNewGroup Should have the same length as {@code entries}, and
- * contain true for entries starting a new group,
- * false for those that only add a uniqueLetter to
- * the grouped presentation.
+ * @param purpose IN_PARENTHESIS and NORMALIZED puts parentheses around the whole,
+ * IN_TEXT around each (year,uniqueLetter,pageInfo) part.
+ *
+ * NORMALIZED omits uniqueLetter and pageInfo,
+ * ignores isFirstAppearanceOfSource (always
+ * style.getMaxAuthors, not getMaxAuthorsFirst)
+ * @param entries The list of CitationMarkerEntry values to process.
+ *
+ * Here we do not check for duplicate entries: those
+ * are handled by {@code getCitationMarker} by
+ * omitting them from the list.
+ *
+ * Unresolved citations recognized by
+ * entry.getBibEntry() and/or
+ * entry.getDatabase() returning empty, and
+ * emitted as "Unresolved${citationKey}".
+ *
+ * Neither uniqueLetter nor pageInfo are emitted
+ * for unresolved citations.
+ * @param startsNewGroup Should have the same length as {@code entries}, and
+ * contain true for entries starting a new group,
+ * false for those that only add a uniqueLetter to
+ * the grouped presentation.
* @param maxAuthorsOverride If not empty, always show this number of authors.
- * Added to allow NORMALIZED to use maxAuthors value that differs from
- * style.getMaxAuthors()
+ * Added to allow NORMALIZED to use maxAuthors value that differs from
+ * style.getMaxAuthors()
* @return The formatted citation.
*
*/
@@ -573,15 +573,15 @@ static OOText getNormalizedCitationMarker(JStyle style,
* Identical requires same pageInfo here, we do not try to merge them.
* Note: notifying the user about them would be nice.
*
- * @param citationMarkerEntries A group of citations to process.
- * @param inParenthesis If true, put parenthesis around the whole group,
- * otherwise around each (year,uniqueLetter,pageInfo) part.
+ * @param citationMarkerEntries A group of citations to process.
+ * @param inParenthesis If true, put parenthesis around the whole group,
+ * otherwise around each (year,uniqueLetter,pageInfo) part.
* @param nonUniqueCitationMarkerHandling What should happen if we
- * stumble upon citations with identical normalized
- * citation markers which cite different sources and
- * are not distinguished by uniqueLetters.
- *
- * Note: only consecutive citations are checked.
+ * stumble upon citations with identical normalized
+ * citation markers which cite different sources and
+ * are not distinguished by uniqueLetters.
+ *
+ * Note: only consecutive citations are checked.
*
*/
public static OOText
diff --git a/jablib/src/main/java/org/jabref/logic/openoffice/style/JStyleGetNumCitationMarker.java b/jablib/src/main/java/org/jabref/logic/openoffice/style/JStyleGetNumCitationMarker.java
index 43aa3fdf4f8..db6ced90d76 100644
--- a/jablib/src/main/java/org/jabref/logic/openoffice/style/JStyleGetNumCitationMarker.java
+++ b/jablib/src/main/java/org/jabref/logic/openoffice/style/JStyleGetNumCitationMarker.java
@@ -160,22 +160,22 @@ private static void emitBlock(List block,
/**
* Format a number-based citation marker for the given number or numbers.
*
- * @param entries Provide the citation numbers.
- *
- * An Optional.empty() number means: could not look this up
- * in the databases. Positive integers are the valid numbers.
- *
- * Duplicate citation numbers are allowed:
- *
- * - If their pageInfos are identical, only a
- * single instance is emitted.
- *
- * - If their pageInfos differ, the number is emitted with each
- * distinct pageInfo.
- *
- * pageInfos are expected to be normalized
+ * @param entries Provide the citation numbers.
+ *
+ * An Optional.empty() number means: could not look this up
+ * in the databases. Positive integers are the valid numbers.
+ *
+ * Duplicate citation numbers are allowed:
+ *
+ * - If their pageInfos are identical, only a
+ * single instance is emitted.
+ *
+ * - If their pageInfos differ, the number is emitted with each
+ * distinct pageInfo.
+ *
+ * pageInfos are expected to be normalized
* @param minGroupingCount Zero and negative means never group.
- * Only used by tests to override the value in style.
+ * Only used by tests to override the value in style.
* @return The text for the citation.
*
*/
diff --git a/jablib/src/main/java/org/jabref/logic/openoffice/style/OOFormatBibliography.java b/jablib/src/main/java/org/jabref/logic/openoffice/style/OOFormatBibliography.java
index 46ff26a0b0c..2babd897848 100644
--- a/jablib/src/main/java/org/jabref/logic/openoffice/style/OOFormatBibliography.java
+++ b/jablib/src/main/java/org/jabref/logic/openoffice/style/OOFormatBibliography.java
@@ -111,9 +111,9 @@ public static OOText formatBibliographyEntryBody(CitedKey citedKey, JStyle style
/**
* Format the reference part of a bibliography entry using a Layout.
*
- * @param layout The Layout to format the reference with.
- * @param entry The entry to insert.
- * @param database The database the entry belongs to.
+ * @param layout The Layout to format the reference with.
+ * @param entry The entry to insert.
+ * @param database The database the entry belongs to.
* @param uniquefier Uniqiefier letter, if any, to append to the entry's year.
* @return OOText The reference part of a bibliography entry formatted as OOText
*/
diff --git a/jablib/src/main/java/org/jabref/logic/pdf/TextExtractor.java b/jablib/src/main/java/org/jabref/logic/pdf/TextExtractor.java
index c492f55279e..bfde9816612 100644
--- a/jablib/src/main/java/org/jabref/logic/pdf/TextExtractor.java
+++ b/jablib/src/main/java/org/jabref/logic/pdf/TextExtractor.java
@@ -23,7 +23,7 @@ public final class TextExtractor {
private final PDPage page;
/**
- * @param page the page the annotation is on, must not be null
+ * @param page the page the annotation is on, must not be null
* @param boundingBoxes the raw annotation, must not be null
*/
public TextExtractor(@NonNull PDPage page, @NonNull COSArray boundingBoxes) {
diff --git a/jablib/src/main/java/org/jabref/logic/preferences/JabRefCliPreferences.java b/jablib/src/main/java/org/jabref/logic/preferences/JabRefCliPreferences.java
index e3dba013798..1b8f6310a94 100644
--- a/jablib/src/main/java/org/jabref/logic/preferences/JabRefCliPreferences.java
+++ b/jablib/src/main/java/org/jabref/logic/preferences/JabRefCliPreferences.java
@@ -1026,7 +1026,7 @@ private Path getPath(String key, Path defaultValue) {
* Clear all preferences.
*
* @throws BackingStoreException if JabRef is unable to write to the registry/the
- * preferences storage
+ * preferences storage
*/
@Override
public void clear() throws BackingStoreException {
@@ -1171,7 +1171,7 @@ public void exportPreferences(Path path) throws JabRefException {
*
* @param file Path of file to import from
* @throws JabRefException thrown if importing the preferences failed due to an
- * InvalidPreferencesFormatException or an IOException
+ * InvalidPreferencesFormatException or an IOException
*/
@Override
public void importPreferences(Path file) throws JabRefException {
diff --git a/jablib/src/main/java/org/jabref/logic/push/PushToTeXworks.java b/jablib/src/main/java/org/jabref/logic/push/PushToTeXworks.java
index 48a9c3c78b1..43e9b3dfee2 100644
--- a/jablib/src/main/java/org/jabref/logic/push/PushToTeXworks.java
+++ b/jablib/src/main/java/org/jabref/logic/push/PushToTeXworks.java
@@ -12,7 +12,7 @@ public class PushToTeXworks extends AbstractPushToApplication {
* Constructs a new {@code PushToTeXworks} instance.
*
* @param notificationService The dialog service for displaying messages to the user.
- * @param preferences The service for accessing user preferences.
+ * @param preferences The service for accessing user preferences.
*/
public PushToTeXworks(NotificationService notificationService, PushToApplicationPreferences preferences) {
super(notificationService, preferences);
diff --git a/jablib/src/main/java/org/jabref/logic/shared/DBMSSynchronizer.java b/jablib/src/main/java/org/jabref/logic/shared/DBMSSynchronizer.java
index 31eb62faa8e..7357b1991ee 100644
--- a/jablib/src/main/java/org/jabref/logic/shared/DBMSSynchronizer.java
+++ b/jablib/src/main/java/org/jabref/logic/shared/DBMSSynchronizer.java
@@ -145,7 +145,7 @@ public void listen(MetaDataChangedEvent event) {
* Sets the table structure of shared database if needed and pulls all shared entries to the new local database.
*
* @throws DatabaseNotSupportedException if the version of shared database does not match the version of current
- * shared database support ({@link DBMSProcessor}).
+ * shared database support ({@link DBMSProcessor}).
*/
public void initializeDatabases() throws DatabaseNotSupportedException {
try {
@@ -229,7 +229,7 @@ public void synchronizeLocalDatabase() {
* Removes all local entries which are not present on shared database.
*
* @param localEntries List of {@link BibEntry} the entries should be removed from
- * @param sharedIDs Set of all IDs which are present on shared database
+ * @param sharedIDs Set of all IDs which are present on shared database
*/
private void removeNotSharedEntries(List localEntries, Set sharedIDs) {
List entriesToRemove =
diff --git a/jablib/src/main/java/org/jabref/logic/shared/event/UpdateRefusedEvent.java b/jablib/src/main/java/org/jabref/logic/shared/event/UpdateRefusedEvent.java
index 1dce167b7b2..561edc7bb35 100644
--- a/jablib/src/main/java/org/jabref/logic/shared/event/UpdateRefusedEvent.java
+++ b/jablib/src/main/java/org/jabref/logic/shared/event/UpdateRefusedEvent.java
@@ -7,7 +7,7 @@
* A new {@link UpdateRefusedEvent} is fired, when the user tries to push changes of an obsolete {@link BibEntry} to the server.
*
* @param bibDatabaseContext Affected {@link BibDatabaseContext}
- * @param localBibEntry Affected {@link BibEntry}
+ * @param localBibEntry Affected {@link BibEntry}
*/
public record UpdateRefusedEvent(
BibDatabaseContext bibDatabaseContext,
diff --git a/jablib/src/main/java/org/jabref/logic/shared/security/Password.java b/jablib/src/main/java/org/jabref/logic/shared/security/Password.java
index 7d858e5b8f6..b3fca206bab 100644
--- a/jablib/src/main/java/org/jabref/logic/shared/security/Password.java
+++ b/jablib/src/main/java/org/jabref/logic/shared/security/Password.java
@@ -25,7 +25,7 @@ public class Password {
/**
* @param phrase Phrase which should be encrypted or decrypted
- * @param key Key which is used to improve symmetric encryption
+ * @param key Key which is used to improve symmetric encryption
*/
public Password(char[] phrase, String key) throws NoSuchAlgorithmException, NoSuchPaddingException {
this(new String(phrase), key);
diff --git a/jablib/src/main/java/org/jabref/logic/util/BackgroundTask.java b/jablib/src/main/java/org/jabref/logic/util/BackgroundTask.java
index 0a576c74659..8f3af40ee7e 100644
--- a/jablib/src/main/java/org/jabref/logic/util/BackgroundTask.java
+++ b/jablib/src/main/java/org/jabref/logic/util/BackgroundTask.java
@@ -227,7 +227,7 @@ public BackgroundTask onFinished(Runnable onFinished) {
* Creates a {@link BackgroundTask} that first runs this task and based on the result runs a second task.
*
* @param nextTaskFactory the function that creates the new task
- * @param type of the return value of the second task
+ * @param