[Nice-commit] Nice/testsuite/lib/java/util collections.testsuite,1.9,1.10
Brought to you by:
bonniot
|
From: <bo...@us...> - 2003-04-28 20:58:27
|
Update of /cvsroot/nice/Nice/testsuite/lib/java/util
In directory sc8-pr-cvs1:/tmp/cvs-serv4114/testsuite/lib/java/util
Modified Files:
collections.testsuite
Log Message:
In a method implementation, binding the type parameters should now
be done in front.
Index: collections.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/lib/java/util/collections.testsuite,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** collections.testsuite 23 Apr 2003 21:46:06 -0000 1.9
--- collections.testsuite 28 Apr 2003 20:57:51 -0000 1.10
***************
*** 60,64 ****
<T,U,V | U <: T, V <: T> Set<T> intersection(Set<U>, Set<V>);
! intersection<T,U,V>(s1@Set, s2@Set) {
Set<T> res = new HashSet();
if (s1.size() < s2.size()) {
--- 60,64 ----
<T,U,V | U <: T, V <: T> Set<T> intersection(Set<U>, Set<V>);
! <T,U,V> intersection(s1@Set, s2@Set) {
Set<T> res = new HashSet();
if (s1.size() < s2.size()) {
|