summaryrefslogtreecommitdiffstats
path: root/src/java/com/healthmarketscience/jackcess/Database.java
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2008-03-03 19:36:35 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2008-03-03 19:36:35 +0000
commit8abce36d4fcd1bb90a671021f4d63ef792175479 (patch)
treeb50ad454df10b4688e0d19a0a34d88caf9ab5f96 /src/java/com/healthmarketscience/jackcess/Database.java
parent0d32448ef936e1a93d2aca13be0082b5ea61a36e (diff)
downloadjackcess-8abce36d4fcd1bb90a671021f4d63ef792175479.tar.gz
jackcess-8abce36d4fcd1bb90a671021f4d63ef792175479.zip
cleanup variety of compiler warnings
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@247 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/java/com/healthmarketscience/jackcess/Database.java')
-rw-r--r--src/java/com/healthmarketscience/jackcess/Database.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/com/healthmarketscience/jackcess/Database.java b/src/java/com/healthmarketscience/jackcess/Database.java
index d1f1e2b..84acf51 100644
--- a/src/java/com/healthmarketscience/jackcess/Database.java
+++ b/src/java/com/healthmarketscience/jackcess/Database.java
@@ -44,6 +44,7 @@ import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
+import java.util.ConcurrentModificationException;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
@@ -273,7 +274,7 @@ public class Database
FileChannel channel = openChannel(mdbFile, false);
channel.transferFrom(Channels.newChannel(
Thread.currentThread().getContextClassLoader().getResourceAsStream(
- EMPTY_MDB)), 0, (long) Integer.MAX_VALUE);
+ EMPTY_MDB)), 0, Integer.MAX_VALUE);
return new Database(channel, autoSync);
}