未验证 提交 1734bf75 编写于 作者: O Oleg Nenashev 提交者: GitHub

Merge pull request #3132 from Wadeck/ADD_SINCE_FOR_USER_GETBYID

Add @since for User.getById
......@@ -578,6 +578,7 @@ public class User extends AbstractModelObject implements AccessControlled, Descr
* <code>null</code> if {@link User} object with the given id doesn't exist.
* @return the a User whose id is <code>id</code>, or <code>null</code> if <code>create</code> is <code>false</code>
* and the user does not exist.
* @since 1.651.2 / 2.3
*/
public static @Nullable User getById(String id, boolean create) {
return getOrCreate(id, id, create);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册