Update of /cvsroot/bprocessor//model/src/net/sourceforge/bprocessor/model
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv25628/src/net/sourceforge/bprocessor/model
Modified Files:
Entity.java
Log Message:
generic
Index: Entity.java
===================================================================
RCS file: /cvsroot/bprocessor//model/src/net/sourceforge/bprocessor/model/Entity.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** Entity.java 13 Mar 2007 09:27:26 -0000 1.14
--- Entity.java 10 Apr 2007 20:54:26 -0000 1.15
***************
*** 67,73 ****
* @param entities List of entities to be sorted
*/
! public static void sort(List entities) {
! final Comparator comparator =
! new Comparator() {
public int compare(Object s1, Object s2) {
return ((Entity) s1).getId().compareTo(((Entity) s2).getId());
--- 67,73 ----
* @param entities List of entities to be sorted
*/
! public static void sort(List<?> entities) {
! final Comparator<Object> comparator =
! new Comparator<Object>() {
public int compare(Object s1, Object s2) {
return ((Entity) s1).getId().compareTo(((Entity) s2).getId());
|