From b51adfa9bb338c66cf41f41d7fec6665bddde512 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Thu, 11 Mar 2021 13:31:30 +0100 Subject: [PATCH 1/2] Fix compiliation error --- src/main/java/org/jabref/logic/citationstyle/CSLAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/jabref/logic/citationstyle/CSLAdapter.java b/src/main/java/org/jabref/logic/citationstyle/CSLAdapter.java index abc5dd93c21..5edac0f1f6b 100644 --- a/src/main/java/org/jabref/logic/citationstyle/CSLAdapter.java +++ b/src/main/java/org/jabref/logic/citationstyle/CSLAdapter.java @@ -68,7 +68,7 @@ private void initialize(String newStyle, CitationStyleOutputFormat newFormat) th if ((cslInstance == null) || !Objects.equals(newStyle, style)) { // lang and forceLang are set to the default values of other CSL constructors cslInstance = new CSL(dataProvider, new JabRefLocaleProvider(), - new DefaultAbbreviationProvider(), null, newStyle, "en-US"); + new DefaultAbbreviationProvider(), newStyle, "en-US"); style = newStyle; } From c8ed0893c700fdb14c163499b28606607094b282 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Thu, 11 Mar 2021 13:33:53 +0100 Subject: [PATCH 2/2] Add comment on -SNAPSHOT for citeproc-java --- build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.gradle b/build.gradle index 3caf82829a5..be54dedcd82 100644 --- a/build.gradle +++ b/build.gradle @@ -175,6 +175,8 @@ dependencies { implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: '3.0.0-SNAPSHOT' annotationProcessor group: 'org.apache.logging.log4j', name: 'log4j-core', version: '3.0.0-SNAPSHOT' + // SNAPSHOT is required because of plain-java support + // See https://github.com/michel-kraemer/citeproc-java/issues/92 for details implementation 'de.undercouch:citeproc-java:3.0.0-SNAPSHOT' implementation group: 'jakarta.activation', name: 'jakarta.activation-api', version: '1.2.1'