diff options
author | Jeremias Maerki <jeremias@apache.org> | 2005-11-12 15:58:07 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2005-11-12 15:58:07 +0000 |
commit | b4af2746c8d5d3c356ef5c0efc146e5f6c27687a (patch) | |
tree | 274bb5a0785ab0cfee6ee96a3925c9270de48a9a /src/java/org/apache/fop/cli | |
parent | 67cf81215052e47ab2028c67dc5611a8e942fa5a (diff) | |
download | xmlgraphics-fop-b4af2746c8d5d3c356ef5c0efc146e5f6c27687a.tar.gz xmlgraphics-fop-b4af2746c8d5d3c356ef5c0efc146e5f6c27687a.zip |
Deprecated constructors Fop(int) and Fop(int, FOUserAgent).
Deprecated Fop.getVersion() in favor for Version.getVersion().
Changed every place the newly deprecated methods were called.
Ant task and TestConverter changed to fully use MIME types.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332791 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/cli')
-rw-r--r-- | src/java/org/apache/fop/cli/CommandLineOptions.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/cli/CommandLineOptions.java b/src/java/org/apache/fop/cli/CommandLineOptions.java index c1d922964..5788633e3 100644 --- a/src/java/org/apache/fop/cli/CommandLineOptions.java +++ b/src/java/org/apache/fop/cli/CommandLineOptions.java @@ -25,6 +25,7 @@ import java.io.IOException; import java.util.Locale; import java.util.Vector; +import org.apache.fop.Version; import org.apache.fop.apps.FOPException; import org.apache.fop.apps.FOUserAgent; import org.apache.fop.apps.Fop; @@ -225,7 +226,7 @@ public class CommandLineOptions implements Constants { } else if (args[i].equals("-at")) { i = i + parseAreaTreeOption(args, i); } else if (args[i].equals("-v")) { - System.out.println("FOP Version " + Fop.getVersion()); + System.out.println("FOP Version " + Version.getVersion()); } else if (args[i].equals("-param")) { if (i + 2 < args.length) { if (xsltParams == null) { |