Fix some Eclipse warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1584544 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2014-04-04 07:26:53 +00:00
parent a08e8e4824
commit 91b6961a44
6 changed files with 7 additions and 6 deletions

View File

@ -58,7 +58,8 @@ public abstract class BaseXLSIteratingTest {
List<String> failed = new ArrayList<String>(); List<String> failed = new ArrayList<String>();
String[] files = new File(dir).list(new FilenameFilter() { String[] files = new File(dir).list(new FilenameFilter() {
public boolean accept(File arg0, String arg1) { @Override
public boolean accept(File arg0, String arg1) {
return arg1.toLowerCase().endsWith(".xls"); return arg1.toLowerCase().endsWith(".xls");
} }
}); });

View File

@ -33,7 +33,7 @@ public class TestBiffDrawingToXml extends BaseXLSIteratingTest {
// EXCLUDED.add("XRefCalc.xls"); // EXCLUDED.add("XRefCalc.xls");
// EXCLUDED.add("43493.xls"); // EXCLUDED.add("43493.xls");
// EXCLUDED.add("51832.xls"); // EXCLUDED.add("51832.xls");
}; }
@Override @Override
@Ignore("Not yet done, nearly all files fail with various errors, remove this method when done to use the one from the abstract base class!...") @Ignore("Not yet done, nearly all files fail with various errors, remove this method when done to use the one from the abstract base class!...")

View File

@ -37,7 +37,7 @@ public class TestBiffViewer extends BaseXLSIteratingTest {
SILENT_EXCLUDED.add("password.xls"); SILENT_EXCLUDED.add("password.xls");
SILENT_EXCLUDED.add("46904.xls"); SILENT_EXCLUDED.add("46904.xls");
SILENT_EXCLUDED.add("xor-encryption-abc.xls"); // unsupported XOR-encryption SILENT_EXCLUDED.add("xor-encryption-abc.xls"); // unsupported XOR-encryption
}; }
@Override @Override
void runOneFile(String dir, String file, List<String> failed) throws IOException { void runOneFile(String dir, String file, List<String> failed) throws IOException {

View File

@ -32,7 +32,7 @@ public class TestFormulaViewer extends BaseXLSIteratingTest {
// EXCLUDED.add("BOOK_in_capitals.xls"); // EXCLUDED.add("BOOK_in_capitals.xls");
// EXCLUDED.add("46904.xls"); // EXCLUDED.add("46904.xls");
// EXCLUDED.add("OddStyleRecord.xls"); // EXCLUDED.add("OddStyleRecord.xls");
}; }
@Override @Override
@Ignore("Not yet done, nearly all files fail with various errors, remove this method when done to use the one from the abstract base class!...") @Ignore("Not yet done, nearly all files fail with various errors, remove this method when done to use the one from the abstract base class!...")

View File

@ -37,7 +37,7 @@ public class TestReSave extends BaseXLSIteratingTest {
SILENT_EXCLUDED.add("43493.xls"); // HSSFWorkbook cannot open it as well SILENT_EXCLUDED.add("43493.xls"); // HSSFWorkbook cannot open it as well
SILENT_EXCLUDED.add("46904.xls"); SILENT_EXCLUDED.add("46904.xls");
SILENT_EXCLUDED.add("51832.xls"); // password SILENT_EXCLUDED.add("51832.xls"); // password
}; }
@Override @Override
void runOneFile(String dir, String file, List<String> failed) throws Exception { void runOneFile(String dir, String file, List<String> failed) throws Exception {

View File

@ -29,7 +29,7 @@ public class TestRecordLister extends BaseXLSIteratingTest {
// these are likely ok to fail // these are likely ok to fail
SILENT_EXCLUDED.add("46904.xls"); SILENT_EXCLUDED.add("46904.xls");
}; }
@Override @Override
void runOneFile(String dir, String file, List<String> failed) throws IOException { void runOneFile(String dir, String file, List<String> failed) throws IOException {