[jabref] 01/05: patch CrossRef for unirest + libandroid-json-java
Tony Mancill
tmancill at moszumanska.debian.org
Tue Nov 29 04:08:03 UTC 2016
This is an automated email from the git hooks/post-receive script.
tmancill pushed a commit to branch dev
in repository jabref.
commit bd66bf510c9490c924e0a43031253d3c016e2c17
Author: tony mancill <tmancill at debian.org>
Date: Mon Nov 28 19:19:51 2016 -0800
patch CrossRef for unirest + libandroid-json-java
---
debian/patches/unirest_json.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/debian/patches/unirest_json.patch b/debian/patches/unirest_json.patch
index 78b1e23..732f62c 100644
--- a/debian/patches/unirest_json.patch
+++ b/debian/patches/unirest_json.patch
@@ -57,3 +57,14 @@
LOGGER.warn("SpringerLink API request failed", e);
}
}
+--- a/src/main/java/net/sf/jabref/logic/importer/fetcher/CrossRef.java
++++ b/src/main/java/net/sf/jabref/logic/importer/fetcher/CrossRef.java
+@@ -59,7 +59,7 @@
+ LOGGER.debug("DOI " + dataDOI + " for " + title.get() + " found.");
+ return DOI.build(dataDOI);
+ }
+- } catch (UnirestException e) {
++ } catch (UnirestException | JSONException e) {
+ LOGGER.warn("Unable to query CrossRef API: " + e.getMessage(), e);
+ }
+ return doi;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jabref.git
More information about the pkg-java-commits
mailing list