jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From juanpa...@apache.org
Subject svn commit: r1453171 - in /incubator/jspwiki/trunk: .classpath tests/org/apache/wiki/site/SiteGeneratorTest.java
Date Wed, 06 Mar 2013 06:40:00 GMT
Author: juanpablo
Date: Wed Mar  6 06:39:59 2013
New Revision: 1453171

URL: http://svn.apache.org/r1453171
Log:
fixes broken build

Modified:
    incubator/jspwiki/trunk/.classpath
    incubator/jspwiki/trunk/tests/org/apache/wiki/site/SiteGeneratorTest.java

Modified: incubator/jspwiki/trunk/.classpath
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/.classpath?rev=1453171&r1=1453170&r2=1453171&view=diff
==============================================================================
--- incubator/jspwiki/trunk/.classpath (original)
+++ incubator/jspwiki/trunk/.classpath Wed Mar  6 06:39:59 2013
@@ -5,6 +5,7 @@
 	<classpathentry excluding="build/|etc/|lib/|libs-opt/|reports/" kind="src" output="tests/build"
path="tests"/>
 	<classpathentry kind="lib" path="lib/commons-lang-2.6.jar"/>
 	<classpathentry kind="lib" path="lib/commons-logging-api-1.0.4.jar"/>
+	<classpathentry kind="lib" path="lib/commons-io-1.4.jar"/>
 	<classpathentry kind="lib" path="lib/ecs-1.4.2.jar"/>
 	<classpathentry kind="lib" path="lib/jdom-1.0.jar"/>
 	<classpathentry kind="lib" path="lib/log4j-1.2.14.jar"/>

Modified: incubator/jspwiki/trunk/tests/org/apache/wiki/site/SiteGeneratorTest.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/org/apache/wiki/site/SiteGeneratorTest.java?rev=1453171&r1=1453170&r2=1453171&view=diff
==============================================================================
--- incubator/jspwiki/trunk/tests/org/apache/wiki/site/SiteGeneratorTest.java (original)
+++ incubator/jspwiki/trunk/tests/org/apache/wiki/site/SiteGeneratorTest.java Wed Mar  6 06:39:59
2013
@@ -140,7 +140,9 @@ public class SiteGeneratorTest extends T
         List< String > links = new ArrayList< String >();
         try 
         {
-            for( String line : FileUtils.readLines( new File( "./ChangeLog") ) ) 
+            @SuppressWarnings({ "unchecked", "cast" })
+            List< String > lines = ( List< String > )FileUtils.readLines( new
File( "./ChangeLog") );
+            for( String line : lines ) 
             {
                 parseChangeLogLine( line, sb, links );
             }



Mime
View raw message