| At line 94 changed 2 lines. |
| <span style="color: green">// call populate method in super class to populate test data |
| // from a properties file matching this class name</span> |
| // call populate method in super class to populate test data |
| // from a properties file matching this class name |
| At line 165 changed 1 line. |
| <span style="color: green">//~ Instance fields ========================================================</span> |
| //~ Instance fields ======================================================== |
| At line 172 changed 1 line. |
| <span style="color: green">//~ Constructors ===========================================================</span> |
| //~ Constructors =========================================================== |
| At line 179 changed 1 line. |
| <span style="color: green">//~ Methods ================================================================</span> |
| //~ Methods ================================================================ |
| At line 181 changed 4 lines. |
| public Object getPerson(String personname) throws Exception { |
| person = dao.getPerson(personname); |
|
| return convert(person); |
| public Object getPerson(String id) throws Exception { |
| person = dao.getPerson(Long.valueOf(id)); |
| |
| personForm = new PersonForm(); |
| BeanUtils.copyProperties(personForm, person); |
| |
| return personForm; |
| At line 193 changed 1 line. |
| <span style="color: green">// copy form properties to person</span>> |
| // copy form properties to person |
| At line 201 changed 1 line. |
| <span style="color: green">// BeanUtils.copyProperties converts empty Strings to |
| // BeanUtils.copyProperties converts empty Strings to |
| At line 203 changed 1 line. |
| // Setting the defaultLong to null (in BaseManager) is another solution</span> |
| // Setting the defaultLong to null (in BaseManager) is another solution |
| At line 210 changed 1 line. |
| return getPerson(person.getId()); |
| return getPerson(person.getId().toString()); |
| At line 226 removed 2 lines. |
| } |
|