diff options
Diffstat (limited to 'test/src/java')
-rw-r--r-- | test/src/java/com/healthmarketscience/jackcess/JetFormatTest.java | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/test/src/java/com/healthmarketscience/jackcess/JetFormatTest.java b/test/src/java/com/healthmarketscience/jackcess/JetFormatTest.java index a25810e..96365e4 100644 --- a/test/src/java/com/healthmarketscience/jackcess/JetFormatTest.java +++ b/test/src/java/com/healthmarketscience/jackcess/JetFormatTest.java @@ -90,15 +90,9 @@ public final class JetFormatTest extends TestCase { private static File getFileForBasename(Basename basename, Database.FileFormat fileFormat) { - final String filenameExtension; - if (Database.FileFormat.V2007.equals(fileFormat)) { - filenameExtension = ".accdb"; - } else { - filenameExtension = ".mdb"; - } - return new File(DIR_TEST_DATA, - fileFormat.name() + "/" + basename.basename + fileFormat.name() + filenameExtension); + fileFormat.name() + "/" + basename.basename + fileFormat.name() + + fileFormat.getFileExtension()); } } |