Map.putAll(Map<K, V>) should probably be Node.putAll(Map<? extends K,? extends V>)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Map.putAll(Map<K, V>) should probably be Node.putAll(Map<? extends K,? extends V>)

BJ Freeman
I looked through the code and kept seeing this message on map.putall
the icons on eclipse keeps giving me these warning.
Guess this is more along Adams changes.
I don't know what I am doing yet.

Reply | Threaded
Open this post in threaded view
|

Re: Map.putAll(Map<K, V>) should probably be Node.putAll(Map<? extends K,? extends V>)

Adam Heath-2
BJ Freeman wrote:
> I looked through the code and kept seeing this message on map.putall
> the icons on eclipse keeps giving me these warning.
> Guess this is more along Adams changes.
> I don't know what I am doing yet.

Need more input, Stephanie.
Reply | Threaded
Open this post in threaded view
|

Re: Map.putAll(Map<K, V>) should probably be Node.putAll(Map<? extends K,? extends V>)

Adam Heath-2
Adam Heath wrote:
> BJ Freeman wrote:
>> I looked through the code and kept seeing this message on map.putall
>> the icons on eclipse keeps giving me these warning.
>> Guess this is more along Adams changes.
>> I don't know what I am doing yet.
>
> Need more input, Stephanie.

In case it wasn't clear, there is no way I can infer what problem you
are seeing.
Reply | Threaded
Open this post in threaded view
|

Re: Map.putAll(Map<K, V>) should probably be Node.putAll(Map<? extends K,? extends V>)

BJ Freeman
I don't know how to communicate so lets drop it.
:)

Adam Heath sent the following on 9/5/2008 1:16 PM:

> Adam Heath wrote:
>> BJ Freeman wrote:
>>> I looked through the code and kept seeing this message on map.putall
>>> the icons on eclipse keeps giving me these warning.
>>> Guess this is more along Adams changes.
>>> I don't know what I am doing yet.
>> Need more input, Stephanie.
>
> In case it wasn't clear, there is no way I can infer what problem you
> are seeing.
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Map.putAll(Map<K, V>) should probably be Node.putAll(Map<? extends K,? extends V>)

Adam Heath-2
BJ Freeman wrote:
> I don't know how to communicate so lets drop it.

Well, are you editting a class that implements or extends Map, and you
are seeing this warning/error inside a putAll() method body?

Or are you using some ofbiz-specific map implementation in other code,
and it's when you are in this other code that you are seeing these
messages?  Ie, it's not the implementation, but the use of, that is
causing problems.

Reply | Threaded
Open this post in threaded view
|

Re: Map.putAll(Map<K, V>) should probably be Node.putAll(Map<? extends K,? extends V>)

BJ Freeman
Thank you for your response and support.
I just went back and tried to recreate this and can't
I started with a code fragment I had copied.
then I went back into the code I copied it from and the message was there.
but I can not seem to do either today.


Adam Heath sent the following on 9/5/2008 2:52 PM:

> BJ Freeman wrote:
>> I don't know how to communicate so lets drop it.
>
> Well, are you editting a class that implements or extends Map, and you
> are seeing this warning/error inside a putAll() method body?
>
> Or are you using some ofbiz-specific map implementation in other code,
> and it's when you are in this other code that you are seeing these
> messages?  Ie, it's not the implementation, but the use of, that is
> causing problems.
>
>
>
>