提交 6bd3f83c 编写于 作者: D Dave Brosius

remove needless null check, subject isn't null (from above)

上级 6201362a
......@@ -1819,7 +1819,7 @@ public final class FilePath implements Serializable {
value = fixEmpty(value);
// none entered yet, or something is seriously wrong
if(value==null || (AbstractProject<?,?>)subject ==null) return FormValidation.ok();
if(value==null) return FormValidation.ok();
// a common mistake is to use wildcard
if(value.contains("*")) return FormValidation.error(Messages.FilePath_validateRelativePath_wildcardNotAllowed());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册