Skip to content

Commit a771fc5

Browse files
committed
Join strings passed to LOGGER
1 parent f4c598e commit a771fc5

File tree

5 files changed

+5
-8
lines changed

5 files changed

+5
-8
lines changed

src/main/java/org/jabref/logic/importer/fetcher/ArXivFetcher.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,7 @@ private void inplaceAsyncInfuseArXivWithDoi(BibEntry arXivBibEntry) {
278278
try {
279279
this.inplaceAsyncInfuseArXivWithDoi(arXivBibEntryCompletedFuture, arXivBibEntryId);
280280
} catch (FetcherException e) {
281-
LOGGER.error("FetcherException should not be found here, as main Bibtex Entry already exists " +
282-
"(and failing additional fetches should be skipped)", e);
281+
LOGGER.error("FetcherException should not be found here, as main Bibtex Entry already exists (and failing additional fetches should be skipped)", e);
283282
}
284283
}
285284

src/main/java/org/jabref/logic/importer/fileformat/IsiImporter.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,8 +359,7 @@ static String parseMonth(String value) {
359359
return month.get().getJabRefFormat();
360360
}
361361
} catch (NumberFormatException e) {
362-
LOGGER.info("The import file in ISI format cannot parse part of the content in PD into integers " +
363-
"(If there is no month or PD displayed in the imported entity, this may be the reason)", e);
362+
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);
364363
}
365364
}
366365
return null;

src/main/java/org/jabref/logic/openoffice/backend/Backend52.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public CitationGroup createCitationGroup(XTextDocument doc,
199199
cit.setPageInfo(pageInfo);
200200
} else {
201201
if (pageInfo.isPresent()) {
202-
LOGGER.warn("dataModel JabRef52" + " only supports pageInfo for the last citation of a group");
202+
LOGGER.warn("dataModel JabRef52 only supports pageInfo for the last citation of a group");
203203
}
204204
}
205205
break;

src/main/java/org/jabref/logic/remote/server/RemoteListenerServerManager.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ public void open(RemoteMessageHandler messageHandler, int port) {
4141
try {
4242
remoteServerThread = new RemoteListenerServerThread(messageHandler, port);
4343
} catch (BindException e) {
44-
LOGGER.error("There was an error opening the configured network port {}. Please ensure there isn't another" +
45-
" application already using that port.", port);
44+
LOGGER.error("There was an error opening the configured network port {}. Please ensure there isn't another application already using that port.", port);
4645
remoteServerThread = null;
4746
} catch (IOException e) {
4847
LOGGER.error("Unknown error while opening the network port.", e);

src/main/java/org/jabref/model/groups/SearchGroup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public AbstractGroup deepCopy() {
9191
} catch (Throwable t) {
9292
// this should never happen, because the constructor obviously
9393
// succeeded in creating _this_ instance!
94-
LOGGER.error("Internal error in SearchGroup.deepCopy(). " + "Please report this on https://github.com/JabRef/jabref/issues", t);
94+
LOGGER.error("Internal error in SearchGroup.deepCopy(). Please report this on https://github.com/JabRef/jabref/issues", t);
9595
return null;
9696
}
9797
}

0 commit comments

Comments
 (0)