From 41850c971a518fbf1662199518143c8581f179c8 Mon Sep 17 00:00:00 2001 From: Adrian Cumiskey Date: Fri, 20 Mar 2009 14:08:04 +0000 Subject: Added some generics comments for the List collections. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@756471 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/fonts/autodetect/FontFileFinder.java | 6 +++--- src/java/org/apache/fop/fonts/autodetect/FontFinder.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/java/org/apache/fop/fonts/autodetect/FontFileFinder.java b/src/java/org/apache/fop/fonts/autodetect/FontFileFinder.java index 0d3bd6dcd..bd0f1ee14 100644 --- a/src/java/org/apache/fop/fonts/autodetect/FontFileFinder.java +++ b/src/java/org/apache/fop/fonts/autodetect/FontFileFinder.java @@ -130,7 +130,7 @@ public class FontFileFinder extends DirectoryWalker implements FontFinder { * @throws IOException io exception * {@inheritDoc} */ - public List find() throws IOException { + public List/**/ find() throws IOException { final FontFinder fontDirFinder; final String osName = System.getProperty("os.name"); if (osName.startsWith("Windows")) { @@ -142,8 +142,8 @@ public class FontFileFinder extends DirectoryWalker implements FontFinder { fontDirFinder = new UnixFontDirFinder(); } } - List fontDirs = fontDirFinder.find(); - List results = new java.util.ArrayList(); + List/**/ fontDirs = fontDirFinder.find(); + List/**/ results = new java.util.ArrayList/**/(); for (Iterator iter = fontDirs.iterator(); iter.hasNext();) { final File dir = (File)iter.next(); super.walk(dir, results); diff --git a/src/java/org/apache/fop/fonts/autodetect/FontFinder.java b/src/java/org/apache/fop/fonts/autodetect/FontFinder.java index ee0d1e07f..0ab71daec 100644 --- a/src/java/org/apache/fop/fonts/autodetect/FontFinder.java +++ b/src/java/org/apache/fop/fonts/autodetect/FontFinder.java @@ -37,6 +37,6 @@ public interface FontFinder { * @throws IOException * In case of an I/O problem */ - List find() throws IOException; + List/**/ find() throws IOException; } -- cgit v1.2.3