"Mark Orciuch" <[EMAIL PROTECTED]> writes:

>------=_NextPart_000_001E_01C2A842.FE5ED190
>Content-Type: text/plain;
>       charset="us-ascii"
>Content-Transfer-Encoding: 7bit

>Currently the string based properties are handled as follows:

>foo.bar = aaa
>foo.bar = bbb

>Configuration object returns "aaa" when using the following call:
>getString("foo.bar"). However, in this scenario:

>foo.bar = 1
>foo.bar = 2

>... calling getInt("foo.bar") will cause ClassCastException because multiple
>instances of the same property are put in a Container object.

Yep. However, the problem is, what happens if you have this

foo.bar = 1
foo.bar = xxx

Your patch is a possible solution. I will clean it up a little
and then commit to the repository. Thanks!

        Regards
                Henning
-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     [EMAIL PROTECTED]

Am Schwabachgrund 22  Fon.: 09131 / 50654-0   [EMAIL PROTECTED]
D-91054 Buckenhof     Fax.: 09131 / 50654-20   

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to