question: void waitForDictionaryLoading ( ) { while ( mUpdatingDictionary ) { try { Thread . sleep ( 100 ) ; } catch ( InterruptedException e ) { } } }
target:  Used only for testing purposes This function will wait for loading from database to be done