https://issues.apache.org/bugzilla/show_bug.cgi?id=50245
Summary: [PATCH] Upgrade to Java 1.5 - Added type-safe parameters to collections in Fonts Product: Fop Version: all Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: fonts AssignedTo: fop-dev@xmlgraphics.apache.org ReportedBy: med1...@gmail.com Created an attachment (id=26279) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26279) Upgraded collections in o.a.f.fonts I have appended suitable type-safe parameters to the collections in the o.a.f.fonts package e.g. List x = ArrayList() is now List<CLASS> x = ArrayList<CLASS>. I've also made a few style changes, previously all the implemented collections were prefixed by their qualified class name (i.e. java.util.ArrayList) for some reason. I've just added them to the import list. There has been previous discussion on this in bug 49696, but since no one seems to care either way and it's just causing unnecessary confusion. I have tested it and there doesn't seem to be any visual difference in PS or PDF though there are differences in the actual files. The fonts are described in a different order in the file. This is probably because we're using HashMaps and the hashes are different, so when iterated through, they come out in a different order. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.