mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-05 08:05:56 +00:00
Merge pull request #3717 from runzexia/add-nonnull-annotations
add getDescriptorOrDie Nonnull annotations
This commit is contained in:
1 file changed
+1
@@ -1511,6 +1511,7 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
|
||||
* If the descriptor is missing.
|
||||
* @since 1.326
|
||||
*/
|
||||
@Nonnull
|
||||
public Descriptor getDescriptorOrDie(Class<? extends Describable> type) {
|
||||
Descriptor d = getDescriptor(type);
|
||||
if (d==null)
|
||||
|
||||
Reference in new issue
Block a user