提交 d72fda46 编写于 作者: J Jesse Glick

isMatrixProject appears unused, but keep for compatibility.

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