To fix a ClassCastException exception I was getting I will be submitting a fix to
RelationCollection.java

NEW

    public Object[] toArray() {
        Object[] result = new Object[size()];
        Iterator itor = iterator();

>>      int count = 0;
        while ( itor.hasNext() ) {
>>          result[count++] = (Object)itor.next();
        }
        return result;
    }

OLD

    public Object[] toArray() {
        Object[] result = new Object[size()];
        Iterator itor = iterator();

        while ( itor.hasNext() ) {
            result = (Object[])itor.next();
        }
        return result;
    }



Best Regards,
Rick Schwartz

Office: 916.987.2487
Cell  : 916.801.6114
Fax   : 916.987.8845

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to