This is an automated email from the git hooks/post-receive script. tmancill pushed a commit to branch dev in repository jabref.
commit 1dbfe665b3e8202b38ef914e2b94ccc9adb008a2 Author: tony mancill <[email protected]> Date: Wed Dec 7 20:31:55 2016 -0800 remove "Lookup DOI" functionality that is broken in 3.6 --- debian/patches/070_remove_lookup_DOI.patch | 42 ++++++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 43 insertions(+) diff --git a/debian/patches/070_remove_lookup_DOI.patch b/debian/patches/070_remove_lookup_DOI.patch new file mode 100644 index 0000000..4acc7f4 --- /dev/null +++ b/debian/patches/070_remove_lookup_DOI.patch @@ -0,0 +1,42 @@ +Author: Oliver Kopp <[email protected]> +Date: Wed, 7 Dec 2016 23:22:46 +0100 +Subject: [PATCH] Remove "Lookup DOI" as it does not work at JabRef 3.6 +Forwarded: not-needed +Origin: https://github.com/koppor/jabref/commit/ca49873efe2c90453e4fff4e9f690d9083f399f4 + +--- + .../net/sf/jabref/gui/entryeditor/FieldExtraComponents.java | 11 ----------- + 1 file changed, 11 deletions(-) + +diff --git a/src/main/java/net/sf/jabref/gui/entryeditor/FieldExtraComponents.java b/src/main/java/net/sf/jabref/gui/entryeditor/FieldExtraComponents.java +index 9b008ef2b..aac18bb17 100644 +--- a/src/main/java/net/sf/jabref/gui/entryeditor/FieldExtraComponents.java ++++ b/src/main/java/net/sf/jabref/gui/entryeditor/FieldExtraComponents.java +@@ -168,16 +168,6 @@ public class FieldExtraComponents { + panel.output(Localization.lang("Unable to open link.")); + } + }); +- // lookup doi +- JButton doiButton = new JButton(Localization.lang("Lookup DOI")); +- doiButton.addActionListener(actionEvent -> { +- Optional<DOI> doi = DOI.fromBibEntry(entryEditor.getEntry()); +- if (doi.isPresent()) { +- entryEditor.getEntry().setField(FieldName.DOI, doi.get().getDOI()); +- } else { +- panel.frame().setStatus(Localization.lang("No %0 found", FieldName.getDisplayName(FieldName.DOI))); +- } +- }); + // fetch bibtex data + JButton fetchButton = new JButton( + Localization.lang("Get BibTeX data from %0", FieldName.getDisplayName(FieldName.DOI))); +@@ -188,7 +178,6 @@ public class FieldExtraComponents { + }); + + controls.add(button, BorderLayout.NORTH); +- controls.add(doiButton, BorderLayout.CENTER); + controls.add(fetchButton, BorderLayout.SOUTH); + + // enable/disable button +-- +2.11.0 + diff --git a/debian/patches/series b/debian/patches/series index 91be8de..4eb52ee 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,3 +4,4 @@ 040_disable_macadapter.patch 050_unirest_json.patch 060_disable_java-diff-utils.patch +070_remove_lookup_DOI.patch -- 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

