From df0400db6ba56ea5d60e3fb65506e49c45c86bf3 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Sun, 7 Feb 2021 22:40:06 +0100 Subject: [PATCH 1/2] Fix typos --- CHANGELOG.md | 2 +- docs/adr/0016-mutable-preferences-objects.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index afa6c5ad057..09ec5e5f4e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -91,7 +91,7 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve - We changed connect timeouts for server requests to 30 seconds in general and 5 seconds for GROBID server (special) and improved user notifications on connection issues. [7026](https://github.com/JabRef/jabref/pull/7026) - We changed the order of the library tab context menu items. [#7171](https://github.com/JabRef/jabref/issues/7171) - We changed the way linked files are opened on Linux to use the native openFile method, compatible with confined packages. [7037](https://github.com/JabRef/jabref/pull/7037) -- We refined the entry preview to show the full names of authors and editors, to list the editor only if no author is present, have the year ealier. [#7083](https://github.com/JabRef/jabref/issues/7083) +- We refined the entry preview to show the full names of authors and editors, to list the editor only if no author is present, have the year earlier. [#7083](https://github.com/JabRef/jabref/issues/7083) ### Fixed diff --git a/docs/adr/0016-mutable-preferences-objects.md b/docs/adr/0016-mutable-preferences-objects.md index 96fadaf5e6f..98934527ee2 100644 --- a/docs/adr/0016-mutable-preferences-objects.md +++ b/docs/adr/0016-mutable-preferences-objects.md @@ -6,8 +6,8 @@ To create an immutable preferences object every time seems to be a waste of time ## Considered Options -* Create a new object every time a preferences object should be altered by a with*-method, similar to a builder. -* Alter the existing object and return it. +* Alter the existing object and return it (by a `with*` -method, similar to a builder, but changing the object at hand). +* Create a new object every time a preferences object should be altered. ## Decision Outcome From daccaf90f021611c1b89aa622ebf58e2c7545fb1 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Sun, 7 Feb 2021 23:26:26 +0100 Subject: [PATCH 2/2] Fix one more typo --- src/main/java/org/jabref/logic/importer/SearchBasedFetcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/jabref/logic/importer/SearchBasedFetcher.java b/src/main/java/org/jabref/logic/importer/SearchBasedFetcher.java index 8b860c3eeeb..b96dbac2ad5 100644 --- a/src/main/java/org/jabref/logic/importer/SearchBasedFetcher.java +++ b/src/main/java/org/jabref/logic/importer/SearchBasedFetcher.java @@ -41,7 +41,7 @@ default List performSearch(String searchQuery) throws FetcherException try { return this.performSearch(parser.parse(searchQuery, NO_EXPLICIT_FIELD)); } catch (QueryNodeParseException e) { - throw new FetcherException("An error occured when parsing the query"); + throw new FetcherException("An error occurred when parsing the query"); } } }