aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fonts/autodetect
diff options
context:
space:
mode:
authorGlenn Adams <gadams@apache.org>2012-03-02 21:34:30 +0000
committerGlenn Adams <gadams@apache.org>2012-03-02 21:34:30 +0000
commit9826acf1e8c3552abc295ba34384292ae6db51b3 (patch)
treefcca84f17d36fa77846b3d5313a73820cae01366 /src/java/org/apache/fop/fonts/autodetect
parent5494cc056a64aa2c66727087435cad880a896486 (diff)
downloadxmlgraphics-fop-9826acf1e8c3552abc295ba34384292ae6db51b3.tar.gz
xmlgraphics-fop-9826acf1e8c3552abc295ba34384292ae6db51b3.zip
enable MultipleVariableDeclarations rule; fix violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296483 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fonts/autodetect')
-rw-r--r--src/java/org/apache/fop/fonts/autodetect/WindowsFontDirFinder.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fonts/autodetect/WindowsFontDirFinder.java b/src/java/org/apache/fop/fonts/autodetect/WindowsFontDirFinder.java
index d9773a026..53b076073 100644
--- a/src/java/org/apache/fop/fonts/autodetect/WindowsFontDirFinder.java
+++ b/src/java/org/apache/fop/fonts/autodetect/WindowsFontDirFinder.java
@@ -67,7 +67,8 @@ public class WindowsFontDirFinder implements FontDirFinder {
// should continue if this fails
}
}
- File osFontsDir = null, psFontsDir = null;
+ File osFontsDir = null;
+ File psFontsDir = null;
if (windir != null) {
// remove any trailing '/'
if (windir.endsWith("/")) {