Use Advanced Search to search the entire archive.
Re: Remove "generic" multiply/divide operations from Quantity
- From: Martin Desruisseaux <
>
- To:
- Subject: Re: Remove "generic" multiply/divide operations from Quantity
- Date: Thu, 16 Oct 2014 18:49:51 +0900
- Organization: Geomatys
Hello Otavio
Le 16/10/14 18:43, Otávio Gonçalves de Santana a écrit :
>
Martin.
>
How I told in Jira[1], it's not more a technical discussion.
>
If we take care of the operations ,division/multyply, you are right
>
if not just believe in user will another strategy.
But we are not allowed to change the meaning of the java language. The
following:
List<String> list = foo();
Means that, if the code compile without "unsafe cast" warnings, the
developer have the guarantee that 'list' elements are String. We are not
allowed to change that, otherwise this is not Java anymore.
Martin