← 返回首页
Be less noisy about overlapping script languages · scijava/scijava-common@29255db · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Commit 29255db

Browse files
committed
Be less noisy about overlapping script languages
We really only need to know about these things in debug mode.
1 parent 8f8a277 commit 29255db

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/main/java/org/scijava/script/ScriptLanguageIndex.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ private boolean put(final String type, final Map<String, ScriptLanguage> map,
146146
// Conflicting value; behavior depends on mode.
147147
if (gently) {
148148
// Do not overwrite the previous value.
149-
if (log != null && log.isWarn()) {
150-
log.warn(overwriteMessage(false, type, key, value, existing));
149+
if (log != null && log.isDebug()) {
150+
log.debug(overwriteMessage(false, type, key, value, existing));
151151
}
152152
return false;
153153
}

0 commit comments

Comments
 (0)

Footer

© 2026 GitHub, Inc.