Author: acumiskey
Date: Fri Mar 20 14:08:04 2009
New Revision: 756471
URL: http://svn.apache.org/viewvc?rev=756471&view=rev
Log:
Added some generics comments for the List collections.
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/autodetect/FontFileFinder.java
xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/autodetect/FontFinder.java
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/autodetect/FontFileFinder.java
URL:
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/autodetect/FontFileFinder.java?rev=756471&r1=756470&r2=756471&view=diff
==============================================================================
---
xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/autodetect/FontFileFinder.java
(original)
+++
xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/autodetect/FontFileFinder.java
Fri Mar 20 14:08:04 2009
@@ -130,7 +130,7 @@
* @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 @@
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);
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/autodetect/FontFinder.java
URL:
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/autodetect/FontFinder.java?rev=756471&r1=756470&r2=756471&view=diff
==============================================================================
---
xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/autodetect/FontFinder.java
(original)
+++
xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/autodetect/FontFinder.java
Fri Mar 20 14:08:04 2009
@@ -37,6 +37,6 @@
* @throws IOException
* In case of an I/O problem
*/
- List find() throws IOException;
+ List/*<URL>*/ find() throws IOException;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]