Skip to content

Commit

Permalink
Fix JavaDoc error
Browse files Browse the repository at this point in the history
  • Loading branch information
calixtus committed May 27, 2024
1 parent 3f0a318 commit 56bc88a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/org/jabref/gui/desktop/JabRefDesktop.java
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,14 @@ public static void openExternalViewer(BibDatabaseContext databaseContext,
try {
NATIVE_DESKTOP.openFile(link, PS.getName(), preferencesService.getFilePreferences());
} catch (IOException e) {
LOGGER.error("An error occurred on the command: " + link, e);
LOGGER.error("An error occurred on the command: {}", link, e);
}
}
case PDF -> {
try {
NATIVE_DESKTOP.openFile(link, PDF.getName(), preferencesService.getFilePreferences());
} catch (IOException e) {
LOGGER.error("An error occurred on the command: " + link, e);
LOGGER.error("An error occurred on the command: {}", link, e);
}
}
case null, default ->
Expand Down Expand Up @@ -238,7 +238,7 @@ public static void openFolderAndSelectFile(Path fileLink,

/**
* Opens a new console starting on the given file location
* <p>
*
* @param file Location the console should be opened at.
*/
public static void openConsole(Path file, PreferencesService preferencesService, DialogService dialogService) throws IOException {
Expand Down

0 comments on commit 56bc88a

Please sign in to comment.