xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mehdi houshmand <med1...@gmail.com>
Subject Re: checkstyle errors, deprecation
Date Mon, 30 Jan 2012 11:47:59 GMT
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 <glenn@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.
>

Mime
View raw message