This has been amended in r1237610. However just to note, this strictly speaking shouldn't be a checkstyle error, FOP is Java5 compliant not Java6, and as such that method isn't deprecated.
On 27 January 2012 17:44, Glenn Adams <gl...@skynav.com> wrote: > I notice 4 checkstyle errors have creeped into recent trunk commits. > > Also, there is a deprecated usage in one of the junit tests (run > junit-compile target) that has been around for a while that should be fixed: > > % ant junit-compile > ... > [javac] > /users/glenn/Work/fop/test/java/org/apache/fop/fonts/truetype/TTFFontLoaderTestCase.java:42: > warning: [deprecation] toURL() in java.io.File has been deprecated > [javac] String absoluteFilePath = file.toURL().toExternalForm(); > > Maybe a committer could fix these. >