Skip to content

Commit

Permalink
Fix string comparison, fixes ome#89
Browse files Browse the repository at this point in the history
  • Loading branch information
melissalinkert committed Jul 18, 2024
1 parent 4604fff commit 3af55a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/loci/common/LogbackTools.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public static synchronized boolean isEnabled() {
Logger root = (Logger) LoggerFactory.getLogger(Logger.ROOT_LOGGER_NAME);
LoggerContext loggerContext = root.getLoggerContext();
return (ConfigurationWatchListUtil.getMainWatchURL(loggerContext) != null
|| (loggerContext.getProperty("caller") == CALLER));
|| (loggerContext.getProperty("caller").equals(CALLER)));
}

/**
Expand Down

0 comments on commit 3af55a1

Please sign in to comment.