Skip to content

Commit

Permalink
Fixed #1639 (#1641)
Browse files Browse the repository at this point in the history
* Fixed #1639

* Removed old code
  • Loading branch information
oscargus authored Jul 29, 2016
1 parent 5416f4f commit ffdb88d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
- Fixed [#1592](https://github.com/JabRef/jabref/issues/1592): LibreOffice: wrong numbers in citation labels
- The merge entry dialog showed wrong heading after merging from DOI
- Fixed [#1321](https://github.com/JabRef/jabref/issues/1321): LaTeX commands in fields not displayed in the list of references
- Fixed [#1639](https://github.com/JabRef/jabref/issues/1639): Google Scholar fetching works again.
- Date fields in the BibLatex standard are now always formatted in the correct way, independent of the preferences

### Removed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,7 @@ private String getCitationsFromUrl(String urlQuery, Map<String, JLabel> ids) thr

private BibEntry downloadEntry(String link) throws IOException {
try {
String s = new URLDownload(GoogleScholarFetcher.URL_START + link)
.downloadToString(Globals.prefs.getDefaultEncoding());
String s = new URLDownload(link).downloadToString(Globals.prefs.getDefaultEncoding());
BibtexParser bp = new BibtexParser(new StringReader(s));
ParserResult pr = bp.parse();
if ((pr != null) && (pr.getDatabase() != null)) {
Expand Down

0 comments on commit ffdb88d

Please # to comment.