| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
|
| 15 |
|
|
| 16 |
|
|
| 17 |
|
|
| 18 |
|
|
| 19 |
|
package org.itracker.web.forms; |
| 20 |
|
|
| 21 |
|
import javax.servlet.http.HttpServletRequest; |
| 22 |
|
|
| 23 |
|
import org.apache.struts.action.ActionErrors; |
| 24 |
|
import org.apache.struts.action.ActionMapping; |
| 25 |
|
import org.apache.struts.validator.ValidatorForm; |
| 26 |
|
|
| 27 |
|
|
| 28 |
|
|
| 29 |
|
|
| 30 |
|
@author |
| 31 |
|
|
| 32 |
|
|
|
|
|
| 0% |
Uncovered Elements: 18 (18) |
Complexity: 6 |
Complexity Density: 0.5 |
|
| 33 |
|
public class ForgotPasswordForm extends ValidatorForm { |
| 34 |
|
|
| 35 |
|
|
| 36 |
|
|
| 37 |
|
private static final long serialVersionUID = 1L; |
| 38 |
|
java.lang.String login; |
| 39 |
|
String lastName; |
| 40 |
|
|
|
|
|
| 0% |
Uncovered Elements: 6 (6) |
Complexity: 1 |
Complexity Density: 0.17 |
|
| 41 |
0
|
public void reset(ActionMapping mapping, HttpServletRequest request) {... |
| 42 |
0
|
login = null; |
| 43 |
0
|
lastName = null; |
| 44 |
0
|
String pageTitleKey = "itracker.web.forgotpass.title"; |
| 45 |
0
|
String pageTitleArg = ""; |
| 46 |
0
|
request.setAttribute("pageTitleKey", pageTitleKey); |
| 47 |
0
|
request.setAttribute("pageTitleArg", pageTitleArg); |
| 48 |
|
|
| 49 |
|
} |
| 50 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
| 51 |
0
|
public ActionErrors validate(ActionMapping mapping,... |
| 52 |
|
HttpServletRequest request) { |
| 53 |
0
|
ActionErrors errors = super.validate(mapping, request); |
| 54 |
|
|
| 55 |
0
|
return errors; |
| 56 |
|
} |
| 57 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 58 |
0
|
public String getLastName() {... |
| 59 |
0
|
return lastName; |
| 60 |
|
} |
| 61 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 62 |
0
|
public void setLastName(String lastName) {... |
| 63 |
0
|
this.lastName = lastName; |
| 64 |
|
} |
| 65 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 66 |
0
|
public java.lang.String getLogin() {... |
| 67 |
0
|
return login; |
| 68 |
|
} |
| 69 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 70 |
0
|
public void setLogin(java.lang.String login) {... |
| 71 |
0
|
this.login = login; |
| 72 |
|
} |
| 73 |
|
|
| 74 |
|
} |