axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vimesh Gihan Samarawickrama <vimesh...@gmail.com>
Subject Re: Getting know the intention of Null key/values testing in ContextPropertiesExternalizeTest.java test case
Date Thu, 06 Feb 2014 06:24:23 GMT
Hi Deepal,

So is it required to have the ability to store null key/values in the
properties map in AbstractContext.java? If not is it ok to change it into
ConcurrentHashMap which does not allow to put null key/values.

Thanks


On Thu, Feb 6, 2014 at 11:17 AM, Deepal jayasinghe <deepalk@gmail.com>wrote:

>  Hi Vimesh,
>
> Open a JIRA issue and attach a patch, one of us should be able to fix the
> issue.
>
> Deepal
>
>  Hi,
>
>  I am using axis2-1.6.1 and here is my question.
> We can modify HashMap into ConcurrentHashMap in
> /modules/kernel/src/org/apache/axis2/context/AbstractContext.java in order
> to access that map concurrently. But there is a test case called
> ContextPropertiesExternalizeTest.java which puts null key/values to the
> map. But since modified ConcurrentHashMap does not allow to put null
> key/values it leads to fail.
> So could you please let me know the intention of testing with null
> key/values there.
>
>  Thanks
>
>  --
> Vimesh Gihan Samarawickrama
> Undergraduate
> Department of Computer Science & Engineering
> University of Moratuwa
> Sri Lanka
>
>
>


-- 
Vimesh Gihan Samarawickrama
Undergraduate
Department of Computer Science & Engineering
University of Moratuwa
Sri Lanka

Mime
View raw message