Skip to content

Commit

Permalink
Join strings passed to LOGGER
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Oct 5, 2024
1 parent f4c598e commit a771fc5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,7 @@ private void inplaceAsyncInfuseArXivWithDoi(BibEntry arXivBibEntry) {
try {
this.inplaceAsyncInfuseArXivWithDoi(arXivBibEntryCompletedFuture, arXivBibEntryId);
} catch (FetcherException e) {
LOGGER.error("FetcherException should not be found here, as main Bibtex Entry already exists " +
"(and failing additional fetches should be skipped)", e);
LOGGER.error("FetcherException should not be found here, as main Bibtex Entry already exists (and failing additional fetches should be skipped)", e);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,7 @@ static String parseMonth(String value) {
return month.get().getJabRefFormat();
}
} catch (NumberFormatException e) {
LOGGER.info("The import file in ISI format cannot parse part of the content in PD into integers " +
"(If there is no month or PD displayed in the imported entity, this may be the reason)", e);
LOGGER.info("The import file in ISI format cannot parse part of the content in PD into integers (If there is no month or PD displayed in the imported entity, this may be the reason)", e);
}
}
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public CitationGroup createCitationGroup(XTextDocument doc,
cit.setPageInfo(pageInfo);
} else {
if (pageInfo.isPresent()) {
LOGGER.warn("dataModel JabRef52" + " only supports pageInfo for the last citation of a group");
LOGGER.warn("dataModel JabRef52 only supports pageInfo for the last citation of a group");
}
}
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ public void open(RemoteMessageHandler messageHandler, int port) {
try {
remoteServerThread = new RemoteListenerServerThread(messageHandler, port);
} catch (BindException e) {
LOGGER.error("There was an error opening the configured network port {}. Please ensure there isn't another" +
" application already using that port.", port);
LOGGER.error("There was an error opening the configured network port {}. Please ensure there isn't another application already using that port.", port);
remoteServerThread = null;
} catch (IOException e) {
LOGGER.error("Unknown error while opening the network port.", e);
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/jabref/model/groups/SearchGroup.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public AbstractGroup deepCopy() {
} catch (Throwable t) {
// this should never happen, because the constructor obviously
// succeeded in creating _this_ instance!
LOGGER.error("Internal error in SearchGroup.deepCopy(). " + "Please report this on https://github.com/JabRef/jabref/issues", t);
LOGGER.error("Internal error in SearchGroup.deepCopy(). Please report this on https://github.com/JabRef/jabref/issues", t);
return null;
}
}
Expand Down

0 comments on commit a771fc5

Please sign in to comment.