|
||||||||
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
it is conveninent to handle in code such that you don't need to do have multiple paths through the code
if (ItemGroup instanceOf Item) { /* do something */}
else if (ItemGroup instanceOf Jenkins) { /* do something else */ }
Item.getFullName should return the empty string or null (depending on if this is nullable), delete could throw an error, or (for bonus points) should remove itself from the OS :-P etc. etc.)