提交 7325517c 编写于 作者: K kohsuke

improved efficiency --- not that it matters, though


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7569 71c3de6d-444a-0410-be80-ed276b4c234a
上级 d3b0d3af
package hudson.tasks;
import hudson.model.Describable;
import hudson.model.Node;
import hudson.model.Descriptor;
import hudson.ExtensionPoint;
import hudson.remoting.VirtualChannel;
import java.util.*;
import java.util.Collections;
import java.util.Set;
/**
* Created by IntelliJ IDEA.
......@@ -23,6 +21,6 @@ public abstract class DynamicLabeler implements LabelFinder, ExtensionPoint {
* @return a set of labels.
*/
public Set<String> findLabels(VirtualChannel channel) {
return new HashSet<String>();
return Collections.emptySet();
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册