tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r719125 - /tomcat/trunk/java/org/apache/tomcat/buildutil/Txt2Html.java
Date Wed, 19 Nov 2008 23:16:05 GMT
Author: markt
Date: Wed Nov 19 15:16:05 2008
New Revision: 719125

URL: http://svn.apache.org/viewvc?rev=719125&view=rev
Log:
Fix generics and use of deprecated field

Modified:
    tomcat/trunk/java/org/apache/tomcat/buildutil/Txt2Html.java

Modified: tomcat/trunk/java/org/apache/tomcat/buildutil/Txt2Html.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/buildutil/Txt2Html.java?rev=719125&r1=719124&r2=719125&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/buildutil/Txt2Html.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/buildutil/Txt2Html.java Wed Nov 19 15:16:05 2008
@@ -81,10 +81,10 @@
         int count = 0;
         
         // Step through each file and convert.
-        Iterator iter = filesets.iterator();
+        Iterator<FileSet> iter = filesets.iterator();
         while( iter.hasNext() ) {
-            FileSet fs = (FileSet)iter.next();
-            DirectoryScanner ds = fs.getDirectoryScanner( project );
+            FileSet fs = iter.next();
+            DirectoryScanner ds = fs.getDirectoryScanner(getProject());
             File basedir = ds.getBasedir();
             String[] files = ds.getIncludedFiles();
             for( int i = 0; i < files.length; i++ ) {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message