From e75e2b8b43f4d400fa0bf08e3e067e82e1edd128 Mon Sep 17 00:00:00 2001 From: Philip Durbin Date: Fri, 8 Jul 2016 15:15:53 -0400 Subject: [PATCH] Confirm Email: get code to deploy #2170 --- .../iq/dataverse/confirmemail/ConfirmEmailData.java | 11 ++++++++++- .../iq/dataverse/confirmemail/ConfirmEmailPage.java | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/main/java/edu/harvard/iq/dataverse/confirmemail/ConfirmEmailData.java b/src/main/java/edu/harvard/iq/dataverse/confirmemail/ConfirmEmailData.java index 0418ca6b7b9..8fdb52afc3a 100644 --- a/src/main/java/edu/harvard/iq/dataverse/confirmemail/ConfirmEmailData.java +++ b/src/main/java/edu/harvard/iq/dataverse/confirmemail/ConfirmEmailData.java @@ -105,5 +105,14 @@ public Long getId() { public void setId(Long id) { this.id = id; } - + + /** + * This is only here because it has to be: "The class should have a no-arg, + * public or protected constructor." Please use the constructor that takes + * arguments. + */ + @Deprecated + public ConfirmEmailData() { + } + } diff --git a/src/main/java/edu/harvard/iq/dataverse/confirmemail/ConfirmEmailPage.java b/src/main/java/edu/harvard/iq/dataverse/confirmemail/ConfirmEmailPage.java index d8118048cb7..c90d8ed0703 100644 --- a/src/main/java/edu/harvard/iq/dataverse/confirmemail/ConfirmEmailPage.java +++ b/src/main/java/edu/harvard/iq/dataverse/confirmemail/ConfirmEmailPage.java @@ -27,7 +27,7 @@ */ @ViewScoped -@Named("PasswordResetPage") +@Named("ConfirmEmailPage") public class ConfirmEmailPage implements java.io.Serializable { private static final Logger logger = Logger.getLogger(ConfirmEmailPage.class.getCanonicalName());