So do I, and that's why I removed the intValue() from that line, to get
it compiling against Java 5.0. Odd.

Werner

Ralf Joachim wrote:
> Hi Werner,
> 
> I got a compile error without this conversion in eclipse and at mvn
> install after mvn clean. After the change I could execute mvn install
> without problems. I just intended to fix this error.
> 
> Having said that I'm using Java 5 JDK.
> 
> Regards
> Ralf
> 
> 
> Werner Guttmann schrieb:
>> Hi Ralf,
>>
>> can you please explain why you basically reverted a change I committed
>> last week after starting to upgrade configurations for the Maven plugins
>> (as used e.g. within the xmlctf-framework) ? I made this change as
>> otherwise I'd get a compilation error when compiling this module.
>>
>> Werner
>>
>> -------- Original Message --------
>> Subject:     [castor-scm] [7894]
>> castor/trunk/xmlctf-framework/src/main/java/org/castor/xmlctf/SchemaTestCase.java:
>> Fixed conversion error between BigDecimal and int at SchemaTestCase
>> Date:        Sat, 20 Sep 2008 03:55:13 -0500 (CDT)
>> From:        [EMAIL PROTECTED]
>> Reply-To:    [email protected]
>> To:  [EMAIL PROTECTED]
>>
>>
>>
>> Revision
>>     7894 <http://fisheye.codehaus.org/changelog/castor/?cs=7894>
>> Author
>>     rjoachim
>> Date
>>     2008-09-20 03:55:13 -0500 (Sat, 20 Sep 2008)
>>
>>
>>       Log Message
>>
>> Fixed conversion error between BigDecimal and int at SchemaTestCase
>>
>>
>>       Modified Paths
>>
>>     *
>> castor/trunk/xmlctf-framework/src/main/java/org/castor/xmlctf/SchemaTestCase.java
>>
>> <#castortrunkxmlctfframeworksrcmainjavaorgcastorxmlctfSchemaTestCasejava>
>>
>>
>>       Diff
>>
>>
>>         Modified:
>>
>> castor/trunk/xmlctf-framework/src/main/java/org/castor/xmlctf/SchemaTestCase.java
>>         (7893 => 7894)
>>
>> ---
>> castor/trunk/xmlctf-framework/src/main/java/org/castor/xmlctf/SchemaTestCase.java
>> 2008-09-19 22:56:47 UTC (rev 7893)
>> +++
>> castor/trunk/xmlctf-framework/src/main/java/org/castor/xmlctf/SchemaTestCase.java
>> 2008-09-20 08:55:13 UTC (rev 7894)
>> @@ -120,7 +120,7 @@
>>          SchemaDifferences[] diff = tc.getSchemaDifferences();
>>          for (int i = 0; i < diff.length; i++) {
>>              if (diff[i].getFailureStep().equals(step)) {
>> -                return diff[i].getContent();
>> +                return diff[i].getContent().intValue();
>>              }
>>          }
>>          return 0;
>>
>> ------------------------------------------------------------------------
>>
>> To unsubscribe from this list please visit:
>>
>> http://xircles.codehaus.org/manage_email
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to