提交 7aae4ec1 编写于 作者: M mindless

javadoc


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33348 71c3de6d-444a-0410-be80-ed276b4c234a
上级 b8fd3873
......@@ -67,7 +67,7 @@ public class Items {
}
/**
* Converts a list of items into a camma-separated full names.
* Converts a list of items into a comma-separated list of full names.
*/
public static String toNameList(Collection<? extends Item> items) {
StringBuilder buf = new StringBuilder();
......@@ -82,7 +82,7 @@ public class Items {
/**
* Does the opposite of {@link #toNameList(Collection)}.
*/
public static <T extends Item> List<T> fromNameList(String list,Class<T> type) {
public static <T extends Item> List<T> fromNameList(String list, Class<T> type) {
Hudson hudson = Hudson.getInstance();
List<T> r = new ArrayList<T>();
......
......@@ -226,10 +226,9 @@ public class BuildTrigger extends Recorder implements DependecyDeclarer, MatrixA
}
/**
* Called from {@link Job#renameTo(String)} when a job is renamed.
* Called from {@link ItemListenerImpl} when a job is renamed.
*
* @return true
* if this {@link BuildTrigger} is changed and needs to be saved.
* @return true if this {@link BuildTrigger} is changed and needs to be saved.
*/
public boolean onJobRenamed(String oldName, String newName) {
// quick test
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册