From: Damyan Ivanov Date: Sun, 24 Mar 2019 17:11:48 +0000 (+0200) Subject: drop 'synchronized' modifier for getDatabase X-Git-Tag: v0.8.1~11 X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=commitdiff_plain;h=c63db65ac315e371325031c90b098bab48661e2d;hp=c63db65ac315e371325031c90b098bab48661e2d drop 'synchronized' modifier for getDatabase it was necessary to guarantee that no two connections were created because the connection is created in getDatabase by moving the connection creatin to the init() a high profile method (getDatabase) gets faster. init() is called only once anyway ---