aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdrian Cumiskey <acumiskey@apache.org>2009-03-20 14:08:04 +0000
committerAdrian Cumiskey <acumiskey@apache.org>2009-03-20 14:08:04 +0000
commit41850c971a518fbf1662199518143c8581f179c8 (patch)
tree3188992c4b5b87702ec953cd9898cd594f16e5a1 /src
parent3c5ac0297c39c7cf7280afa95155dbea07e67d4c (diff)
downloadxmlgraphics-fop-41850c971a518fbf1662199518143c8581f179c8.tar.gz
xmlgraphics-fop-41850c971a518fbf1662199518143c8581f179c8.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/fop/fonts/autodetect/FontFileFinder.java6
-rw-r--r--src/java/org/apache/fop/fonts/autodetect/FontFinder.java2
2 files changed, 4 insertions, 4 deletions
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/*<URL>*/ 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/*<URL>*/ fontDirs = fontDirFinder.find();
+ List/*<URL>*/ results = new java.util.ArrayList/*<URL>*/();
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/*<URL>*/ find() throws IOException;
}