| 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: 9 (9) |
Complexity: 4 |
Complexity Density: 0.8 |
|
| 33 |
|
public class WatchIssueForm extends ValidatorForm { |
| 34 |
|
|
| 35 |
|
|
| 36 |
|
|
| 37 |
|
private static final long serialVersionUID = 1L; |
| 38 |
|
private String issueId; |
| 39 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 40 |
0
|
public void reset(ActionMapping mapping, HttpServletRequest request) {... |
| 41 |
0
|
issueId = null; |
| 42 |
|
|
| 43 |
|
} |
| 44 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
| 45 |
0
|
public ActionErrors validate(ActionMapping mapping,... |
| 46 |
|
HttpServletRequest request) { |
| 47 |
0
|
ActionErrors errors = super.validate(mapping, request); |
| 48 |
|
|
| 49 |
0
|
return errors; |
| 50 |
|
} |
| 51 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 52 |
0
|
public String getIssueId() {... |
| 53 |
0
|
return issueId; |
| 54 |
|
} |
| 55 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 56 |
0
|
public void setIssueId(String issueId) {... |
| 57 |
0
|
this.issueId = issueId; |
| 58 |
|
} |
| 59 |
|
|
| 60 |
|
} |