Update of /cvsroot/hibernate/Hibernate/cirrus/hibernate/map
In directory sc8-pr-cvs1:/tmp/cvs-serv30673/cirrus/hibernate/map
Modified Files:
RootClass.java Subclass.java
Log Message:
fixed JDK1.2 compile brob
Index: RootClass.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/map/RootClass.java,v
retrieving revision 1.55
retrieving revision 1.56
diff -C2 -d -r1.55 -r1.56
*** RootClass.java 25 Dec 2002 04:16:36 -0000 1.55
--- RootClass.java 30 Dec 2002 12:48:52 -0000 1.56
***************
*** 71,75 ****
}
public Iterator getTableClosureIterator() {
! return Collections.singletonList( getTable() ).iterator();
}
--- 71,75 ----
}
public Iterator getTableClosureIterator() {
! return Collections.singleton( getTable() ).iterator();
}
Index: Subclass.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/map/Subclass.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** Subclass.java 26 Dec 2002 03:35:07 -0000 1.24
--- Subclass.java 30 Dec 2002 12:48:52 -0000 1.25
***************
*** 71,75 ****
return new JoinedIterator( new Iterator[] {
getSuperclass().getTableClosureIterator(),
! Collections.singletonList( getTable() ).iterator()
} );
}
--- 71,75 ----
return new JoinedIterator( new Iterator[] {
getSuperclass().getTableClosureIterator(),
! Collections.singleton( getTable() ).iterator()
} );
}
|