mirror of
https://github.com/apache/struts.git
synced 2026-08-07 07:37:20 +00:00
WW-1349 Conform class names.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@438333 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -3,13 +3,10 @@ package mailreader2.registration;
|
||||
import mailreader2.Constants;
|
||||
|
||||
/**
|
||||
* <p> Update a User object to the persistent store. </p>
|
||||
* <p> Update Registration object to the persistent store. </p>
|
||||
*/
|
||||
public class Update extends Support {
|
||||
|
||||
|
||||
|
||||
|
||||
private String fixNull(String value) {
|
||||
if (value == null) return null;
|
||||
String buffer = value.trim();
|
||||
@@ -27,7 +24,7 @@ public class Update extends Support {
|
||||
addActionError(Constants.ERROR_INVALID_WORKFLOW);
|
||||
return ERROR;
|
||||
}
|
||||
// FIXME: Any way to call the RegisrationSave validators from here?
|
||||
// FIXME: Any way to call the Update validators from here?
|
||||
String newPassword = fixNull(getPassword());
|
||||
String confirmPassword = fixNull(getPassword2());
|
||||
if (newPassword != null) {
|
||||
|
||||
Reference in New Issue
Block a user