/** * Returns the userkey of the author of this Change * @return the userkey of the author of this Change * * @deprecated Use {@link #getAuthorKey()} instead. Since v6.0. */ public String getAuthor() { return getAuthorKey(); }
public String getAuthor() { return changeHistory.getAuthorKey(); }
/** * Returns the author of this Change * @return the author of this Change */ public ApplicationUser getAuthorObject() { final String authorKey = getAuthorKey(); if (authorKey == null) { return null; } // lazy load the user object if (user == null) { user = userManager.getUserByKeyEvenWhenUnknown(authorKey); } return user; }