You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tf...@apache.org on 2014/10/05 00:45:18 UTC
svn commit: r1629456 -
/db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/file/FileTestUtils.java
Author: tfischer
Date: Sat Oct 4 22:45:18 2014
New Revision: 1629456
URL: http://svn.apache.org/r1629456
Log:
Fix javadoc
use final modifier where appropriate
Modified:
db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/file/FileTestUtils.java
Modified: db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/file/FileTestUtils.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/file/FileTestUtils.java?rev=1629456&r1=1629455&r2=1629456&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/file/FileTestUtils.java (original)
+++ db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/file/FileTestUtils.java Sat Oct 4 22:45:18 2014
@@ -39,8 +39,8 @@ public class FileTestUtils
* @throws IOException if Fileset#getFiles() throws it.
*/
public static void assertFileListEquals(
- Fileset fileset,
- File... expected)
+ final Fileset fileset,
+ final File... expected)
throws IOException
{
List<File> fileList = fileset.getFiles();
@@ -52,11 +52,11 @@ public class FileTestUtils
* expected paths and no other paths.
*
* @param fileList The list of files which should be checked.
- * @param expectedPaths the paths which should be in the file list.
+ * @param expected the paths which should be in the file list.
*/
public static void assertFileListEquals(
- List<File> fileList,
- File... expected)
+ final List<File> fileList,
+ final File... expected)
{
Set<File> actualFiles = new HashSet<File>();
for (File file : fileList)
@@ -78,7 +78,7 @@ public class FileTestUtils
*
* @return the Set containing all the strings.
*/
- public static Set<String> createSetFrom(String... content)
+ public static Set<String> createSetFrom(final String... content)
{
Set<String> result = new HashSet<String>();
for (String part : content)
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org