corriger ratings : pour que les reports affichent les ratings differents

Policy failures:   
Code warning
- failed on resource ListReportController.java. Reason: ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized, line 53
- failed on resource ListReportController.java. Reason: List is a raw type. References to generic type List<E> should be parameterized, line 53
- failed on resource ListReportController.java. Reason: Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized, line 5
Override reason:
This commit is contained in:
Jialin Wang
2008-02-25 00:06:57 +00:00
parent 736347ba9e
commit 6a7919a57f
3 changed files with 28 additions and 9 deletions

View File

@@ -14,7 +14,8 @@
</c:when>
<c:otherwise>
<c:forEach items="${listReport}" var="report">
<c:forEach items="${listReport}" var="report" varStatus="current">
<table>
<tr>
<td><fmt:message key="report.referee" />: ${report.referee.firstName} ${report.referee.lastName}</td>
@@ -24,7 +25,7 @@
<td>${report.article.title}</td>
</tr>
<c:forEach items="${rtgs}" var="rating">
<c:forEach items="${container[current.index]}" var="rating">
<tr>
<td><fmt:message key="evaluation.note" /></td>
<td>${rating.criterion.name} is:</td>
@@ -43,6 +44,7 @@
</tr>
</table>
<hr>
</c:forEach>
</c:otherwise>