pushed up the pronoun to AbstractItem.

This commit is contained in:
Kohsuke Kawaguchi committed 2010-12-15 00:04:28 -08:00
1 parent 33573ca2bd
commit 7dd4171c04
7 files changed
+14 -7

No files matched your search

@@ -88,6 +88,14 @@ public abstract class AbstractItem extends Actionable implements Item, HttpDelet
return name;
}
/**
* Get the term used in the UI to represent this kind of
* {@link Item}. Must start with a capital letter.
*/
public String getPronoun() {
return Messages.AbstractItem_Pronoun();
}
@Exported
public String getDisplayName() {
return getName();
+1 -4
View File
@@ -248,10 +248,7 @@ public abstract class Job<JobT extends Job<JobT, RunT>, RunT extends Run<JobT, R
return b!=null && b.isBuilding();
}
/**
* Get the term used in the UI to represent this kind of
* {@link AbstractProject}. Must start with a capital letter.
*/
@Override
public String getPronoun() {
return Messages.Job_Pronoun();
}