mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-05 08:05:56 +00:00
isMatrixProject appears unused, but keep for compatibility.
This commit is contained in:
1 parent
e405078e09
commit
d72fda46a6
1 file changed
+2
-5
@@ -28,7 +28,6 @@ package hudson;
|
||||
import hudson.cli.CLICommand;
|
||||
import hudson.console.ConsoleAnnotationDescriptor;
|
||||
import hudson.console.ConsoleAnnotatorFactory;
|
||||
import hudson.matrix.MatrixProject;
|
||||
import hudson.model.AbstractProject;
|
||||
import hudson.model.Action;
|
||||
import hudson.model.Describable;
|
||||
@@ -189,11 +188,9 @@ public class Functions {
|
||||
return o instanceof ModelObjectWithChildren;
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 1.524
|
||||
*/
|
||||
@Deprecated
|
||||
public static boolean isMatrixProject(Object o) {
|
||||
return o instanceof MatrixProject;
|
||||
return o.getClass().getName().equals("hudson.matrix.MatrixProject");
|
||||
}
|
||||
|
||||
public static String xsDate(Calendar cal) {
|
||||
|
||||
Reference in new issue
Block a user