未验证 提交 b7fdb6e5 编写于 作者: O Oleg Nenashev 提交者: GitHub

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

add getDescriptorOrDie Nonnull annotations
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册