提交 fe1cbbdd 编写于 作者: K kohsuke

added users to the search index.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4931 71c3de6d-444a-0410-be80-ed276b4c234a
上级 52f84bc8
......@@ -702,7 +702,7 @@ public final class Hudson extends View implements ItemGroup<TopLevelItem>, Node
})
.add(new CollectionSearchIndex() {// for users
protected User get(String key) { return getUser(key); }
protected Collection<User> all() { return Collections.emptySet(); } // TODO
protected Collection<User> all() { return User.getAll(); }
})
.add(new CollectionSearchIndex() {// for views
protected View get(String key) { return getView(key); }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册