Skip to content

Commit

Permalink
Fix wrong logger
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Sep 12, 2024
1 parent d96498d commit 7adffe9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/org/jabref/logic/os/OS.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import java.util.logging.Level;
import java.util.logging.Logger;

import org.jabref.gui.desktop.os.Windows;
import org.jabref.model.strings.StringUtil;

import com.github.javakeyring.BackendNotSupportedException;
Expand Down Expand Up @@ -95,7 +94,7 @@ public static String detectProgramPath(String programName, String directoryName)
IOException |
ShellLinkException e) {
// Static logger instance cannot be used. See the class comment.
Logger logger = Logger.getLogger(Windows.class.getName());
Logger logger = Logger.getLogger(OS.class.getName());
logger.log(Level.WARNING, "Had an error while reading .lnk file for TeXworks", e);
}
}
Expand Down

0 comments on commit 7adffe9

Please sign in to comment.