Just fewer warnings...

This commit is contained in:
Marcel Kronfeld 2008-03-11 13:49:20 +00:00
parent 7de2a87ea4
commit b68e84cdd7

View File

@ -102,7 +102,7 @@ public class BasicResourceLoader implements ResourceLoader
* @param resourceFile Description of the Parameter * @param resourceFile Description of the Parameter
* @return Description of the Return Value * @return Description of the Return Value
*/ */
public static List readLines(String resourceFile) public static List<String> readLines(String resourceFile)
{ {
return readLines(resourceFile, false); return readLines(resourceFile, false);
} }
@ -114,7 +114,7 @@ public class BasicResourceLoader implements ResourceLoader
* @param ignoreComments Description of the Parameter * @param ignoreComments Description of the Parameter
* @return Description of the Return Value * @return Description of the Return Value
*/ */
public static List readLines(String resourceFile, public static List<String> readLines(String resourceFile,
boolean ignoreCommentedLines) boolean ignoreCommentedLines)
{ {
return readLines(resourceFile, new String[] {"#"}, 0, -1); return readLines(resourceFile, new String[] {"#"}, 0, -1);
@ -129,7 +129,7 @@ public class BasicResourceLoader implements ResourceLoader
* @param lCnt number of lines to read, if <= 0, all lines are read * @param lCnt number of lines to read, if <= 0, all lines are read
* @return Description of the Return Value * @return Description of the Return Value
*/ */
public static List readLines(String resourceFile, public static List<String> readLines(String resourceFile,
String[] ignorePrefix, int lOffset, int lCnt) String[] ignorePrefix, int lOffset, int lCnt)
{ {
if (resourceFile == null) if (resourceFile == null)