diff options
author | Mehdi Houshmand <mehdi@apache.org> | 2012-07-03 10:08:08 +0000 |
---|---|---|
committer | Mehdi Houshmand <mehdi@apache.org> | 2012-07-03 10:08:08 +0000 |
commit | d9695207a5664851bb19ab9db88bdbd820ebf7b5 (patch) | |
tree | 175a7829356e5e1bff93b4156b6c7c16c9522c1a | |
parent | 4e47dc20363d4ee9afbde17db4f7d20c5d480158 (diff) | |
download | xmlgraphics-fop-d9695207a5664851bb19ab9db88bdbd820ebf7b5.tar.gz xmlgraphics-fop-d9695207a5664851bb19ab9db88bdbd820ebf7b5.zip |
White space, unused method and import clean up
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1356656 13f79535-47bb-0310-9956-ffa450edef68
4 files changed, 3 insertions, 8 deletions
diff --git a/src/java/org/apache/fop/fonts/FontLoader.java b/src/java/org/apache/fop/fonts/FontLoader.java index f28efb5ee..96915e097 100644 --- a/src/java/org/apache/fop/fonts/FontLoader.java +++ b/src/java/org/apache/fop/fonts/FontLoader.java @@ -105,8 +105,8 @@ public abstract class FontLoader { } loader = new Type1FontLoader(fontFileURI, embedded, useKerning, resourceResolver); } else { - loader = new TTFFontLoader(fontFileURI, subFontName, - embedded, embeddingMode, encodingMode, useKerning, useAdvanced, resourceResolver); + loader = new TTFFontLoader(fontFileURI, subFontName, embedded, embeddingMode, + encodingMode, useKerning, useAdvanced, resourceResolver); } return loader.getFont(); } diff --git a/src/java/org/apache/fop/fonts/LazyFont.java b/src/java/org/apache/fop/fonts/LazyFont.java index 8fb50fd08..4c42387f2 100644 --- a/src/java/org/apache/fop/fonts/LazyFont.java +++ b/src/java/org/apache/fop/fonts/LazyFont.java @@ -46,7 +46,7 @@ public class LazyFont extends Typeface implements FontDescriptor, Substitutable, private final boolean useKerning; private final boolean useAdvanced; private final EncodingMode encodingMode; - private EmbeddingMode embeddingMode; + private final EmbeddingMode embeddingMode; private final String subFontName; private final boolean embedded; private final InternalResourceResolver resourceResolver; diff --git a/src/java/org/apache/fop/render/afp/AFPDocumentHandler.java b/src/java/org/apache/fop/render/afp/AFPDocumentHandler.java index fb6c89ce4..a0b1e99db 100644 --- a/src/java/org/apache/fop/render/afp/AFPDocumentHandler.java +++ b/src/java/org/apache/fop/render/afp/AFPDocumentHandler.java @@ -55,7 +55,6 @@ import org.apache.fop.render.afp.extensions.AFPPageSetup; import org.apache.fop.render.afp.extensions.ExtensionPlacement; import org.apache.fop.render.intermediate.AbstractBinaryWritingIFDocumentHandler; import org.apache.fop.render.intermediate.IFContext; -import org.apache.fop.render.intermediate.IFDocumentHandler; import org.apache.fop.render.intermediate.IFDocumentHandlerConfigurator; import org.apache.fop.render.intermediate.IFException; import org.apache.fop.render.intermediate.IFPainter; diff --git a/test/java/org/apache/fop/apps/AFPRendererConfBuilder.java b/test/java/org/apache/fop/apps/AFPRendererConfBuilder.java index 4bb3b71dd..f108e4d44 100644 --- a/test/java/org/apache/fop/apps/AFPRendererConfBuilder.java +++ b/test/java/org/apache/fop/apps/AFPRendererConfBuilder.java @@ -153,10 +153,6 @@ public final class AFPRendererConfBuilder extends RendererConfBuilder { return AFPRendererConfBuilder.this.endImages(); } - private ImagesBuilder setAttribute(AFPRendererOption options, String value) { - return setAttribute(options.getName(), value); - } - private ImagesBuilder setAttribute(AFPRendererOption options, Object value) { return setAttribute(options.getName(), value); } |