From f1a8ecbe4db4a7fa6dd52234033c91eddd88007b Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Sat, 7 Sep 2024 20:03:22 +0200 Subject: [PATCH] Minor improvements --- build.gradle | 2 ++ src/main/java/module-info.java | 6 +++--- src/main/java/org/jabref/logic/importer/fetcher/ACS.java | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index fd199a8b667..9bd82d66fb8 100644 --- a/build.gradle +++ b/build.gradle @@ -255,10 +255,12 @@ dependencies { implementation 'org.controlsfx:controlsfx:11.2.1' + // region HTTP clients implementation 'org.jsoup:jsoup:1.18.1' implementation 'com.konghq:unirest-java-core:4.4.4' implementation 'com.konghq:unirest-modules-gson:4.4.4' implementation 'org.apache.httpcomponents.client5:httpclient5:5.3.1' + // endregion implementation 'org.slf4j:slf4j-api:2.0.16' implementation 'org.tinylog:tinylog-api:2.7.0' diff --git a/src/main/java/module-info.java b/src/main/java/module-info.java index 040717bf907..2c5685ffe5e 100644 --- a/src/main/java/module-info.java +++ b/src/main/java/module-info.java @@ -89,11 +89,11 @@ // dependency injection using HK2 requires org.glassfish.hk2.api; - // region: http clients - requires unirest.java.core; - requires unirest.modules.gson; + // region HTTP clients requires org.apache.httpcomponents.core5.httpcore5; requires org.jsoup; + requires unirest.java.core; + requires unirest.modules.gson; // endregion // region: SQL databases diff --git a/src/main/java/org/jabref/logic/importer/fetcher/ACS.java b/src/main/java/org/jabref/logic/importer/fetcher/ACS.java index 3c81d89db2a..e185b6fece2 100644 --- a/src/main/java/org/jabref/logic/importer/fetcher/ACS.java +++ b/src/main/java/org/jabref/logic/importer/fetcher/ACS.java @@ -17,7 +17,7 @@ import org.slf4j.LoggerFactory; /** - * FulltextFetcher implementation that attempts to find a PDF URL at ACS. + * FulltextFetcher implementation that attempts to find a PDF URL at ACS. */ public class ACS implements FulltextFetcher { private static final Logger LOGGER = LoggerFactory.getLogger(ACS.class);