Skip to content

Commit

Permalink
chore: remove repetitive words (JabRef#11015)
Browse files Browse the repository at this point in the history
Signed-off-by: xinhangzhou <[email protected]>
  • Loading branch information
xinhangzhou authored Mar 13, 2024
1 parent ab490d0 commit 45035df
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/jabref/model/entry/BibEntry.java
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ public Optional<String> 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
* <p>
* For details see also {@link #getFieldOrAlias(Field)}
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/jabref/model/entry/field/OrFields.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* Represents a choice between two (or more) fields or any combination of them.
* <p>
* 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<OrFields> {

Expand Down

0 comments on commit 45035df

Please sign in to comment.