From c183dd2ece0d12fb156be6d9f5134a20d144ce73 Mon Sep 17 00:00:00 2001 From: Vincent Hennebert Date: Wed, 9 Oct 2013 06:50:56 +0000 Subject: [PATCH] Removed unused variables git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1530507 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/cli/CommandLineOptions.java | 1 - src/java/org/apache/fop/fonts/apps/PFMReader.java | 3 --- src/java/org/apache/fop/fonts/apps/TTFReader.java | 3 --- 3 files changed, 7 deletions(-) diff --git a/src/java/org/apache/fop/cli/CommandLineOptions.java b/src/java/org/apache/fop/cli/CommandLineOptions.java index 627b95a47..20fcae223 100644 --- a/src/java/org/apache/fop/cli/CommandLineOptions.java +++ b/src/java/org/apache/fop/cli/CommandLineOptions.java @@ -144,7 +144,6 @@ public class CommandLineOptions { * Construct a command line option object. */ public CommandLineOptions() { - LogFactory logFactory = LogFactory.getFactory(); log = LogFactory.getLog("FOP"); } diff --git a/src/java/org/apache/fop/fonts/apps/PFMReader.java b/src/java/org/apache/fop/fonts/apps/PFMReader.java index 8ee6ff9b6..dd7f7343c 100644 --- a/src/java/org/apache/fop/fonts/apps/PFMReader.java +++ b/src/java/org/apache/fop/fonts/apps/PFMReader.java @@ -29,8 +29,6 @@ import javax.xml.parsers.DocumentBuilderFactory; import org.w3c.dom.Document; import org.w3c.dom.Element; -import org.apache.commons.logging.LogFactory; - import org.apache.fop.Version; import org.apache.fop.fonts.type1.PFMFile; @@ -91,7 +89,6 @@ public class PFMReader extends AbstractFontReader { Map options = new java.util.HashMap(); String[] arguments = parseArguments(options, args); - LogFactory logFactory = LogFactory.getFactory(); determineLogLevel(options); PFMReader app = new PFMReader(); diff --git a/src/java/org/apache/fop/fonts/apps/TTFReader.java b/src/java/org/apache/fop/fonts/apps/TTFReader.java index fc003d201..f8c7360a4 100644 --- a/src/java/org/apache/fop/fonts/apps/TTFReader.java +++ b/src/java/org/apache/fop/fonts/apps/TTFReader.java @@ -32,8 +32,6 @@ import org.w3c.dom.Element; import org.xml.sax.Attributes; import org.xml.sax.SAXException; -import org.apache.commons.logging.LogFactory; - import org.apache.fop.Version; import org.apache.fop.fonts.CMapSegment; import org.apache.fop.fonts.FontUtil; @@ -123,7 +121,6 @@ public class TTFReader extends AbstractFontReader { Map options = new java.util.HashMap(); String[] arguments = parseArguments(options, args); - LogFactory logFactory = LogFactory.getFactory(); determineLogLevel(options); TTFReader app = new TTFReader(); -- 2.39.5