Update Db.java
Merge pull request #17 from Afterstone/patch-2

Update Db.java

Thanks for submitting a fix!  Let me know if it still has issues.