Skip to content
Permalink
Browse files

[FIXED JENKINS-34188] suppress log entry, unless level FINE is enabled

  • Loading branch information...
kinow committed Nov 26, 2016
1 parent 528443a commit db09e6d928553f14fa5b0f0f698c146a12cb4b99
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/main/java/org/biouno/unochoice/AbstractScriptableParameter.java
@@ -212,8 +212,10 @@ public Script getScript() {
visibleItemCount = map.size();
return map;
}
LOGGER.warning(String.format("Script parameter with name '%s' is not an instance of java.util.Map. The "
+ "parameter value is %s", getName(), value));
if (LOGGER.isLoggable(Level.FINE)) {
LOGGER.fine(String.format("Script parameter with name '%s' is not an instance of java.util.Map. The "
+ "parameter value is %s", getName(), value));
}
return Collections.emptyMap();
}

0 comments on commit db09e6d

Please sign in to comment.
You can’t perform that action at this time.