You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by A Leg <ha...@yahoo.com> on 2004/10/20 14:21:14 UTC
[collection] problem with iterator
Hi
If I try to compile collection from last CVS I get :
test:compile:
[javac] Compiling 189 source files to
/home/rcs/Master/extern/java/jakarta/jakarta-commons/collections/target/test-classes
/home/rcs/Master/extern/java/jakarta/jakarta-commons/collections/src/test/org/apache/commons/collections/iterators/TestSingletonIterator2.java:51:
cannot resolve symbol
symbol : method reset ()
location: class org.apache.commons.collections.iterators.SingletonIterator
iter.reset();
^
/home/rcs/Master/extern/java/jakarta/jakarta-commons/collections/src/test/org/apache/commons/collections/iterators/TestSingletonIterator2.java:56:
cannot resolve symbol
symbol : constructor SingletonIterator (java.lang.Object,boolean)
location: class org.apache.commons.collections.iterators.SingletonIterator
return new SingletonIterator(testValue, false);
^
Andre
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
Re: [collection] problem with iterator
Posted by A Leg <ha...@yahoo.com>.
Hi Chris
Yes it helps me.
I have probably have in my ClassPath some collection jar where
constructor SingletonIterator (java.lang.Object,boolean)
does not exist.
It should not be very old.
I will look
Thank's
Andre
Chris Lambrou wrote:
> Andre,
>
> I've just checked out collections from scratch, and it all builds just
> fine. I haven't seen any commits to CVS since your original message,
> so I'm not entirely sure what's going wrong here, but hopefully this
> will help you to pin down the problem.
>
> Chris
>
>
> A Leg wrote:
>
>> Hi
>>
>> If I try to compile collection from last CVS I get :
>>
>> test:compile:
>> [javac] Compiling 189 source files to
>> /home/rcs/Master/extern/java/jakarta/jakarta-commons/collections/target/test-classes
>>
>> /home/rcs/Master/extern/java/jakarta/jakarta-commons/collections/src/test/org/apache/commons/collections/iterators/TestSingletonIterator2.java:51:
>> cannot resolve symbol
>> symbol : method reset ()
>> location: class
>> org.apache.commons.collections.iterators.SingletonIterator
>> iter.reset();
>> ^
>> /home/rcs/Master/extern/java/jakarta/jakarta-commons/collections/src/test/org/apache/commons/collections/iterators/TestSingletonIterator2.java:56:
>> cannot resolve symbol
>> symbol : constructor SingletonIterator (java.lang.Object,boolean)
>> location: class
>> org.apache.commons.collections.iterators.SingletonIterator
>> return new SingletonIterator(testValue, false);
>> ^
>> Andre
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
Re: [collection] problem with iterator
Posted by Chris Lambrou <ma...@chrislambrou.com>.
Andre,
I've just checked out collections from scratch, and it all builds just
fine. I haven't seen any commits to CVS since your original message, so
I'm not entirely sure what's going wrong here, but hopefully this will
help you to pin down the problem.
Chris
A Leg wrote:
> Hi
>
> If I try to compile collection from last CVS I get :
>
> test:compile:
> [javac] Compiling 189 source files to
> /home/rcs/Master/extern/java/jakarta/jakarta-commons/collections/target/test-classes
>
> /home/rcs/Master/extern/java/jakarta/jakarta-commons/collections/src/test/org/apache/commons/collections/iterators/TestSingletonIterator2.java:51:
> cannot resolve symbol
> symbol : method reset ()
> location: class
> org.apache.commons.collections.iterators.SingletonIterator
> iter.reset();
> ^
> /home/rcs/Master/extern/java/jakarta/jakarta-commons/collections/src/test/org/apache/commons/collections/iterators/TestSingletonIterator2.java:56:
> cannot resolve symbol
> symbol : constructor SingletonIterator (java.lang.Object,boolean)
> location: class
> org.apache.commons.collections.iterators.SingletonIterator
> return new SingletonIterator(testValue, false);
> ^
> Andre
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org