Applied DatabaseUpgrade.backOut() in case of failing to rename temporary database. Plus minor formatting.
Applied DatabaseUpgrade.backOut() in case of failing to rename temporary database. Plus minor formatting.

couchbase/couchbase-lite-java-core