xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn Adams <gl...@skynav.com>
Subject new deprecation warnings in trunk
Date Wed, 04 Jul 2012 20:33:57 GMT
Mehdi, Please fix the following new deprecation warnings in trunk:

junit-compile-java:
    [mkdir] Created dir:
/Users/glenn/Work/xmlgraphics/fop/trunk/build/test-classes
    [mkdir] Created dir:
/Users/glenn/Work/xmlgraphics/fop/trunk/build/test-gensrc
    [mkdir] Created dir:
/Users/glenn/Work/xmlgraphics/fop/trunk/build/test-reports
    [javac] Compiling 299 source files to
/Users/glenn/Work/xmlgraphics/fop/trunk/build/test-classes
    [javac]
/Users/glenn/Work/xmlgraphics/fop/trunk/test/java/org/apache/fop/apps/FopFactoryBuilderTestCase.java:165:
warning: [deprecation] buildConfig() in
org.apache.fop.apps.FopFactoryBuilder has been deprecated
    [javac]                 assertEquals(nonDefaultURI,
defaultBuilder.buildConfig().getBaseURI());
    [javac]                                                           ^
    [javac]
/Users/glenn/Work/xmlgraphics/fop/trunk/test/java/org/apache/fop/fotreetest/FOTreeTestCase.java:126:
warning: [deprecation] buildConfig() in
org.apache.fop.apps.FopFactoryBuilder has been deprecated
    [javac]             MutableConfig mutableConfig = new
MutableConfig(builder.buildConfig());
    [javac]
   ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 warnings

Also, I see that junit is failing as follows:

    [junit] Running org.apache.fop.afp.AFPEventProcessingTestCase
    [junit] Tests run: 5, Failures: 0, Errors: 2, Time elapsed: 0.321 sec

Please fix this as well.

Mime
View raw message