This is an automated email from the git hooks/post-receive script. tmancill pushed a commit to branch dev in repository jabref.
commit df9b922e288a1aac61a75d4fd0e81fdb34190695 Author: tony mancill <[email protected]> Date: Mon Nov 28 20:04:17 2016 -0800 patch DOAJFetcher for unirest + libandroid-json-java --- debian/patches/unirest_json.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/debian/patches/unirest_json.patch b/debian/patches/unirest_json.patch index f45a9cf..747059d 100644 --- a/debian/patches/unirest_json.patch +++ b/debian/patches/unirest_json.patch @@ -170,3 +170,22 @@ LOGGER.warn("Problem searching Springer", e); } catch (UnsupportedEncodingException e) { LOGGER.warn("Cannot encode query", e); +--- a/src/main/java/net/sf/jabref/gui/importer/fetcher/DOAJFetcher.java ++++ b/src/main/java/net/sf/jabref/gui/importer/fetcher/DOAJFetcher.java +@@ -19,6 +19,7 @@ + import org.apache.commons.logging.Log; + import org.apache.commons.logging.LogFactory; + import org.json.JSONArray; ++import org.json.JSONException; + import org.json.JSONObject; + + public class DOAJFetcher implements EntryFetcher { +@@ -99,7 +100,7 @@ + Localization.lang("Search %0", "DOAJ"), JOptionPane.INFORMATION_MESSAGE); + return false; + } +- } catch (UnirestException e) { ++ } catch (UnirestException | JSONException e) { + LOGGER.warn("Problem searching DOAJ", e); + status.setStatus(Localization.lang("%0 import canceled", "DOAJ")); + return false; -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jabref.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

