Hapilly using my version 0.9.2 patched I decided to move to
0.9.3.9 and was doing some test ... I get some errors :
with org.exolab.castor.builder.primitivetowrapper=true
the <WrapperType> get<Element>(int) downgrade to the primitive
which cause a compile error
(BTW the original version taht I submitted on this mailing list
a long time ago worked fine on this example ...)
example :
/**
*
*
* @param index
**/
public java.lang.Short getOctet(int index)
throws java.lang.IndexOutOfBoundsException
{
//-- check bounds for index
if ((index < 0) || (index > _octetList.size())) {
throw new IndexOutOfBoundsException();
}
return ((Short)_octetList.elementAt(index)).shortValue();
} //-- java.lang.Short getOctet(int)
/**
**/
public java.lang.Short[] getOctet()
{
int size = _octetList.size();
java.lang.Short[] mArray = new java.lang.Short[size];
for (int index = 0; index < size; index++) {
mArray[index] = ((Short)_octetList.elementAt(index)).shortValue();
}
return mArray;
} //-- java.lang.Short[] getOctet()
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev