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

This commit is contained in:
Dave Brosius committed 2011-02-05 19:21:57 -05:00
1 parent 6201362a5f
commit 6bd3f83cb1
1 file changed
+1 -1
+1 -1
View File
@@ -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());