![]() |
|
|
|
|
Issue Type:
|
Improvement
|
|
Assignee:
|
Oleg Nenashev
|
|
Components:
|
core |
|
Created:
|
05/Jun/14 6:50 PM
|
|
Description:
|
Currently, the jenkins.model.Jenkins::getInstance() method is marked as @CheckForNull, but the most of Jenkins code does not actually check the return value. It leads to tons of static analysis errors, hence it is hard to analyze the code.
I propose to...
- Add an additional method (e.g. Jenkins::getActiveInstance()), which throws an exception on access errors
- Convert all non-checked Jenkins::getInstance() methods
|
|
Project:
|
Jenkins
|
|
Labels:
|
api
jenkins
|
|
Priority:
|
Major
|
|
Reporter:
|
Oleg Nenashev
|
|
|
|
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
[email protected].
For more options, visit
https://groups.google.com/d/optout.