提交 c0cb3466 编写于 作者: K kohsuke

this method can be static.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1950 71c3de6d-444a-0410-be80-ed276b4c234a
上级 51dd12c5
......@@ -33,7 +33,7 @@ public abstract class JobPropertyDescriptor extends Descriptor<JobProperty<?>> {
/**
* Gets the {@link JobPropertyDescriptor}s applicable for a given job type.
*/
public List<JobPropertyDescriptor> getPropertyDescriptors(Class<? extends Job> clazz) {
public static List<JobPropertyDescriptor> getPropertyDescriptors(Class<? extends Job> clazz) {
List<JobPropertyDescriptor> r = new ArrayList<JobPropertyDescriptor>();
for (JobPropertyDescriptor p : Jobs.PROPERTIES)
if(p.isApplicable(clazz))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册