You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Andreas L. Delmelle (JIRA)" <ji...@apache.org> on 2015/11/26 17:55:11 UTC

[jira] [Commented] (FOP-2455) [Patch] Duplicated AFP resource objects

    [ https://issues.apache.org/jira/browse/FOP-2455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15029103#comment-15029103 ] 

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
(v6.3.4#6332)