From 45035df5cb2dd2636c24f48a03baa574d50f4ef7 Mon Sep 17 00:00:00 2001 From: xinhangzhou <123058040+xinhangzhou@users.noreply.github.com> Date: Wed, 13 Mar 2024 22:16:11 +0800 Subject: [PATCH] chore: remove repetitive words (#11015) Signed-off-by: xinhangzhou --- config/README.md | 2 +- .../java/org/jabref/logic/importer/fetcher/DBLPFetcher.java | 2 +- src/main/java/org/jabref/model/entry/BibEntry.java | 2 +- src/main/java/org/jabref/model/entry/field/OrFields.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/README.md b/config/README.md index d0a6bf89e97..0bea959d5f2 100644 --- a/config/README.md +++ b/config/README.md @@ -20,7 +20,7 @@ Style-checks are done for each pull request and installing this code style confi # Eclipse: The Eclipse code formatter style is stored in the `eclipse.gradle` file and gets imported automatically. -In case the formatter style needs to be adapted, configure it and export in in eclipse. +In case the formatter style needs to be adapted, configure it and export in eclipse. 1. Right click on the eclipse project "JabRef" 2. Select "Export > General > Preferences" diff --git a/src/main/java/org/jabref/logic/importer/fetcher/DBLPFetcher.java b/src/main/java/org/jabref/logic/importer/fetcher/DBLPFetcher.java index 1eef08ff5f6..2c67443bb6a 100644 --- a/src/main/java/org/jabref/logic/importer/fetcher/DBLPFetcher.java +++ b/src/main/java/org/jabref/logic/importer/fetcher/DBLPFetcher.java @@ -68,7 +68,7 @@ public void doPostCleanup(BibEntry entry) { FieldFormatterCleanups cleanups = new FieldFormatterCleanups(true, List.of( new FieldFormatterCleanup(StandardField.TIMESTAMP, new ClearFormatter()), - // unescape the the contents of the URL field, e.g., some\_url\_part becomes some_url_part + // unescape the contents of the URL field, e.g., some\_url\_part becomes some_url_part new FieldFormatterCleanup(StandardField.URL, new LayoutFormatterBasedFormatter(new RemoveLatexCommandsFormatter())) )); cleanups.applySaveActions(entry); diff --git a/src/main/java/org/jabref/model/entry/BibEntry.java b/src/main/java/org/jabref/model/entry/BibEntry.java index a8c940fb3bb..56fc9302796 100644 --- a/src/main/java/org/jabref/model/entry/BibEntry.java +++ b/src/main/java/org/jabref/model/entry/BibEntry.java @@ -572,7 +572,7 @@ public Optional getFieldOrAlias(Field field) { } /** - * Return the LaTeX-free contents of the given field or its alias an an Optional + * Return the LaTeX-free contents of the given field or its alias an Optional *

* For details see also {@link #getFieldOrAlias(Field)} * diff --git a/src/main/java/org/jabref/model/entry/field/OrFields.java b/src/main/java/org/jabref/model/entry/field/OrFields.java index 5a49202d718..f0b456916d2 100644 --- a/src/main/java/org/jabref/model/entry/field/OrFields.java +++ b/src/main/java/org/jabref/model/entry/field/OrFields.java @@ -10,7 +10,7 @@ /** * Represents a choice between two (or more) fields or any combination of them. *

- * Example is that a BibEntry requires either an author or an editor, but both can be be present. + * Example is that a BibEntry requires either an author or an editor, but both can be present. */ public class OrFields implements Comparable {