  |
8 | 8 | | |
| |
9 | 9 | | public class ProductMapper { |
| |
10 | 10 | | |
  |
11 | | - | public List process(ResultSet resultSet) { |
| |
| 11 | + | public List<Product> process(ResultSet resultSet) { |
|
12 | 12 | | try { |
  |
13 | | - | List products = new ArrayList(); |
| |
| 13 | + | List<Product> products = new ArrayList<Product>(); |
  |
14 | 14 | | while (resultSet.next()) { |
| |
15 | 15 | | Product p = new Product(); |
| |
16 | 16 | | p.setName(resultSet.getString("name")); |