Skip to content

Commit

Permalink
JENKINS-38991 - Fix for NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
stevespringett committed Oct 15, 2016
1 parent 915576c commit fb221bf
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -372,6 +372,9 @@ private static double getJavaVersion () {
* @param message The message to log
*/
private void log(String message) {
if (message == null) {
return;
}
final String outtag = "[" + DependencyCheckPlugin.PLUGIN_NAME + "] ";
listener.getLogger().println(outtag + message.replaceAll("\\n", "\n" + outtag));
}
Expand Down

0 comments on commit fb221bf

Please sign in to comment.