Suspicious override in RtfListStyleNumber.

2004-01-24 Thread Finn Bock
Hi,

While I was trying to fix some warnings from 'javadoc' about missing 
@see method references I discovered a suspicious construct in

   org.apache.fop.render.rtf.rtflib.rtfdoc.RtfListStyleNumber

where the signature of the

   writeListPrefix(RtfList)

method is different from the signature of the superclass RtfListStyle 
where the signature is

   writeListPrefix(RtfListItem).

I'm guessing that RtfListStyleNumber is incorrect and that it should at 
least override writeListPrefix(RtfListItem). I hope that someone 
familiar with the rtf code could take a look at this.

regards,
finn


AW: Suspicious override in RtfListStyleNumber.

2004-01-24 Thread Peter Herweg
I have fixed that issue. Indeed the datatype should have been RtfListItem.

Thank you for the hint,  Finn Bock!

Kind regards
Peter Herweg

 -Ursprungliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Auftrag
 von J.Pietschmann
 Gesendet: Saturday, January 24, 2004 9:53 PM
 An: [EMAIL PROTECTED]
 Betreff: Re: Suspicious override in RtfListStyleNumber.


 Finn Bock wrote:
  I'm guessing that RtfListStyleNumber is incorrect and that it should at
  least override writeListPrefix(RtfListItem). I hope that someone
  familiar with the rtf code could take a look at this.

 This would (should?) be Peter Herweg. Send him a nag mail if he
 doesn't surface within a few days.

 J.Pietschmann