Fixes https://github.com/couchbase/couchbase-lite-java/issues/2

https://github.com/couchbase/couchbase-lite-java/issues/2