From 5664fd4644c78f4571a1a72e6b9f0511fb10720a Mon Sep 17 00:00:00 2001 From: abranson Date: Tue, 2 Aug 2011 22:10:28 +0200 Subject: Finished move to generics. Enforced 1.6 compliance for now. No errors or warnings :) --- source/com/c2kernel/utils/FileStringUtility.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) mode change 100755 => 100644 source/com/c2kernel/utils/FileStringUtility.java (limited to 'source/com/c2kernel/utils/FileStringUtility.java') diff --git a/source/com/c2kernel/utils/FileStringUtility.java b/source/com/c2kernel/utils/FileStringUtility.java old mode 100755 new mode 100644 index 948341a..84f46ca --- a/source/com/c2kernel/utils/FileStringUtility.java +++ b/source/com/c2kernel/utils/FileStringUtility.java @@ -67,7 +67,7 @@ public class FileStringUtility { FileReader fr = new FileReader(file); BufferedReader buf = new BufferedReader(fr); - Vector lines = new Vector(); + Vector lines = new Vector(); String thisLine = null; while ((thisLine = buf.readLine()) != null) lines.addElement(thisLine); @@ -240,9 +240,9 @@ public class FileStringUtility * @param dirPath starting directory * @param recursive goes into the subdirectories **************************************************************************/ - static public ArrayList listDir(String dirPath, boolean withDirs, boolean recursive) + static public ArrayList listDir(String dirPath, boolean withDirs, boolean recursive) { - ArrayList fileNames = new ArrayList(); + ArrayList fileNames = new ArrayList(); File dir = new File(dirPath); File files[]; String fileName; @@ -339,7 +339,7 @@ public class FileStringUtility try { String language = FileStringUtility.file2String(configFile); - Hashtable props = new Hashtable(); + Hashtable props = new Hashtable(); StringTokenizer tok = new StringTokenizer(language, "\n"); while (tok.hasMoreTokens()) { -- cgit v1.2.3