Skip to content

Commit

Permalink
JENKINS-69490 - fix - check if item is null before printing the log
Browse files Browse the repository at this point in the history
  • Loading branch information
tzachs committed Aug 8, 2024
1 parent 62fc3e5 commit d0e795c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ public FormValidation doCheckOverrideUrl(@QueryParameter String value) throws IO

@Override
public boolean isApplicable(Item item) {
LOGGER.finest(item.getClass().getSimpleName());
if ( item != null){
LOGGER.finest(item.getClass().getSimpleName());
}
return item instanceof WorkflowMultiBranchProject;
}

Expand Down

0 comments on commit d0e795c

Please sign in to comment.