]> source.dussan.org Git - poi.git/commitdiff
Fix some Eclipse warnings
authorDominik Stadler <centic@apache.org>
Fri, 4 Apr 2014 07:26:53 +0000 (07:26 +0000)
committerDominik Stadler <centic@apache.org>
Fri, 4 Apr 2014 07:26:53 +0000 (07:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1584544 13f79535-47bb-0310-9956-ffa450edef68

src/testcases/org/apache/poi/hssf/dev/BaseXLSIteratingTest.java
src/testcases/org/apache/poi/hssf/dev/TestBiffDrawingToXml.java
src/testcases/org/apache/poi/hssf/dev/TestBiffViewer.java
src/testcases/org/apache/poi/hssf/dev/TestFormulaViewer.java
src/testcases/org/apache/poi/hssf/dev/TestReSave.java
src/testcases/org/apache/poi/hssf/dev/TestRecordLister.java

index 8c700b5620e858f4350245ced0f9049adc12d5a9..521b9ad67980e620cf7ad478d1e5c6be3d27c8d3 100644 (file)
@@ -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");
                        }
                });
index 09a311e86e50212ac1be9d5f4bf8df832c31b81c..e141608959e61032af26b46b64a9f129d6a11fa4 100644 (file)
@@ -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!...")
index 711215d18d6338f663310ac978c758d85c1df76c..9083fbdf756f6074301496b94c77e10914efe9c1 100644 (file)
@@ -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 {
index 1ceb55c5521645103a3c5617a5889270a4c1718d..8683b78dcf182841fc8ee8d6e8552f661680098c 100644 (file)
@@ -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!...")
index 36a6de4eb9c15038e95ca4d25441e6ff22b74b46..cc124f449a879799d21a2c48cb4131ce0ef669d6 100644 (file)
@@ -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 {
index 58deca919772296b0c40beec5b5205f1bf48b2e0..c74816fd1e3b68408cad635b3927a805c4e3b0b0 100644 (file)
@@ -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 {