mirror of https://github.com/apache/poi.git
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:
parent
420b328857
commit
f821fc9a70
|
@ -58,7 +58,8 @@ public abstract class BaseXLSIteratingTest {
|
|||
List<String> failed = new ArrayList<String>();
|
||||
|
||||
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");
|
||||
}
|
||||
});
|
||||
|
|
|
@ -33,7 +33,7 @@ public class TestBiffDrawingToXml extends BaseXLSIteratingTest {
|
|||
// EXCLUDED.add("XRefCalc.xls");
|
||||
// EXCLUDED.add("43493.xls");
|
||||
// EXCLUDED.add("51832.xls");
|
||||
};
|
||||
}
|
||||
|
||||
@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!...")
|
||||
|
|
|
@ -37,7 +37,7 @@ public class TestBiffViewer extends BaseXLSIteratingTest {
|
|||
SILENT_EXCLUDED.add("password.xls");
|
||||
SILENT_EXCLUDED.add("46904.xls");
|
||||
SILENT_EXCLUDED.add("xor-encryption-abc.xls"); // unsupported XOR-encryption
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
void runOneFile(String dir, String file, List<String> failed) throws IOException {
|
||||
|
|
|
@ -32,7 +32,7 @@ public class TestFormulaViewer extends BaseXLSIteratingTest {
|
|||
// EXCLUDED.add("BOOK_in_capitals.xls");
|
||||
// EXCLUDED.add("46904.xls");
|
||||
// EXCLUDED.add("OddStyleRecord.xls");
|
||||
};
|
||||
}
|
||||
|
||||
@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!...")
|
||||
|
|
|
@ -37,7 +37,7 @@ public class TestReSave extends BaseXLSIteratingTest {
|
|||
SILENT_EXCLUDED.add("43493.xls"); // HSSFWorkbook cannot open it as well
|
||||
SILENT_EXCLUDED.add("46904.xls");
|
||||
SILENT_EXCLUDED.add("51832.xls"); // password
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
void runOneFile(String dir, String file, List<String> failed) throws Exception {
|
||||
|
|
|
@ -29,7 +29,7 @@ public class TestRecordLister extends BaseXLSIteratingTest {
|
|||
|
||||
// these are likely ok to fail
|
||||
SILENT_EXCLUDED.add("46904.xls");
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
void runOneFile(String dir, String file, List<String> failed) throws IOException {
|
||||
|
|
Loading…
Reference in New Issue