Andreas L. Delmelle commented on FOP-2455:

OK, done. Completely missed that the patch attached to the most recent mail was 
different... Sorry.

So, to make sure I understand correctly, the additional identity check is just 
to cover the case where both operands are null, right? 
(Obviously, in case they are truly one and the same instance, this change will 
even perform slightly better...)

> [Patch] Duplicated AFP resource objects
> ---------------------------------------
>                 Key: FOP-2455
>                 URL: https://issues.apache.org/jira/browse/FOP-2455
>             Project: FOP
>          Issue Type: Bug
>          Components: renderer/afp
>    Affects Versions: trunk
>            Reporter: Seifeddine Dridi
>              Labels: patch
>             Fix For: trunk
>         Attachments: CZARN00, T1001252, fop.xconf, patch-updated.diff, 
> patch.diff, test-fixed.afp, test.afp, test.fo
> When generating AFP documents, font resource objects are written as many 
> times as the number of formatting objects in which they were used.
> This regression was introduced after a commit made Glenn Adams to fix 
> FindBugs warnings (revision 1616590).

This message was sent by Atlassian JIRA

Reply via email to