Skip to content

Commit

Permalink
Merge branch 'master' into target-env
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwechner committed Jun 25, 2012
2 parents 7afea64 + e69bb17 commit 05e2469
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
@@ -1,5 +1,6 @@
resource.name=yanel-user
resource.version=2.3.0
resource.version=3.0.0
# 3.0.0: updateProfile(String) can throw an exception, which means derived classes might have to catch this exception
# 2.3.0: Private method updatePassword() set to protected, such that one can call it inside classes which extend org.wyona.yanel.impl.resources.yaneluser.EditYanelUserProfileResource
# 2.2.0: Private method getUserId() set to protected, such that one can call it inside classes which extend org.wyona.yanel.impl.resources.yaneluser.EditYanelUserProfileResource
# 2.1.0: Protected method getUserProfile(String, boolean) introduced, such that one can overwrite the document generation
Expand Down
Expand Up @@ -201,7 +201,7 @@ protected void updatePassword(String oldPassword, String newPassword, String new
* @param email New email address of user (and possibly also alias)
* @return true if update was successful and false otherwise
*/
protected boolean updateProfile(String email) {
protected boolean updateProfile(String email) throws Exception {
if (email == null || ("").equals(email)) {
setTransformerParameter("error", "emailNotSet");
log.warn("No email (or empty email) specified, hence do not update email address!");
Expand Down

0 comments on commit 05e2469

Please sign in to comment.