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 Glenn Adams <gl...@skynav.com> on 2012/01/27 18:44:32 UTC
checkstyle errors, deprecation
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.
Re: checkstyle errors, deprecation
Posted by mehdi houshmand <me...@gmail.com>.
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.
>