[Mulgara-dev] [Mulgara-svn] r1086 - trunk/src/jar/store-stringpool/java/org/mulgara/store/stringpool/xa

Life is hard, and then you die ronald at innovation.ch
Thu Jul 17 09:04:26 UTC 2008


On Wed, Jul 16, 2008 at 03:13:14PM -0700, pag at mulgara.org wrote:
> Author: pag
> Date: 2008-07-16 15:13:12 -0700 (Wed, 16 Jul 2008)
> New Revision: 1086
> 
> Added:
>    trunk/src/jar/store-stringpool/java/org/mulgara/store/stringpool/xa/SPObjectFactoryUnitTest.java
> Modified:
>    trunk/src/jar/store-stringpool/java/org/mulgara/store/stringpool/xa/SPDecimalImpl.java
>    trunk/src/jar/store-stringpool/java/org/mulgara/store/stringpool/xa/SPDecimalUnitTest.java
>    trunk/src/jar/store-stringpool/java/org/mulgara/store/stringpool/xa/SPObjectFactoryImpl.java
> Log:
> Mistakenly changed SPDecimal to handle floating point, but the bug
> report leading to this was really about not throwing an exception
> for floating point values. Now accepting any lexical value for typed
> literals, and falling back to using untyped data when the semantics
> are violated, e.g. when a floating point value is giving for an
> integer, or a string is given for a number.
> 
> Modified: trunk/src/jar/store-stringpool/java/org/mulgara/store/stringpool/xa/SPDecimalImpl.java
[snip]
> -  private Number n;
> +  private Long l;

Not to overly micro-optimize here, but any reason this isn't a 'long'
instead like it was before?


  Cheers,

  Ronald




More information about the Mulgara-dev mailing list