Skip to content

Commit

Permalink
improve the implementation with two add Exception DOIDataNotFoundExce…
Browse files Browse the repository at this point in the history
…ption and DOIServerNotAvailableException and improved
  • Loading branch information
zkl-ai committed May 24, 2022
1 parent d406d5a commit 38f3e52
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/main/java/org/jabref/logic/importer/fetcher/DoiFetcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -116,17 +116,6 @@ public Optional<BibEntry> performSearchById(String identifier) throws FetcherExc
}
}

/**
* Returns client error or server error according to the message
*
* @param exception the IOException
*/
private String dispatchIOException(IOException exception) {
String classification = "Client Error";

return classification;
}

private void doPostCleanup(BibEntry entry) {
new FieldFormatterCleanup(StandardField.PAGES, new NormalizePagesFormatter()).cleanup(entry);
new FieldFormatterCleanup(StandardField.URL, new ClearFormatter()).cleanup(entry);
Expand Down

0 comments on commit 38f3e52

Please sign in to comment.