mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-03 15:15:54 +00:00
isMatrixProject ought to handle nulls, just in case.
This commit is contained in:
1 parent
9259f8736c
commit
747d550c3c
1 file changed
+1
-1
@@ -190,7 +190,7 @@ public class Functions {
|
||||
|
||||
@Deprecated
|
||||
public static boolean isMatrixProject(Object o) {
|
||||
return o.getClass().getName().equals("hudson.matrix.MatrixProject");
|
||||
return o != null && o.getClass().getName().equals("hudson.matrix.MatrixProject");
|
||||
}
|
||||
|
||||
public static String xsDate(Calendar cal) {
|
||||
|
||||
Reference in new issue
Block a user