Merge pull request #3717 from runzexia/add-nonnull-annotations

add getDescriptorOrDie Nonnull annotations
This commit is contained in:
Oleg Nenashev authored and GitHub committed 2018-11-07 10:09:15 +03:00
commit b7fdb6e596
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)