private static final String UPGRADE_QUERY_SUFFIX = ".sql";
private final Context mContext;
private final SharedPreferences prefs;
private static DbHelper instance = null;
private SQLiteDatabase db;
<BUG>public static synchronized DbHelper getInstance() {
if (instance == null) {
instance = new DbHelper(OmniNotes.getAppContext());
</BUG>
}

private static final String UPGRADE_QUERY_SUFFIX = ".sql";
private final Context mContext;
private final SharedPreferences prefs;
private static DbHelper instance = null;
private SQLiteDatabase db;
public static synchronized DbHelper getInstance() {
return getInstance(OmniNotes.getAppContext());
}
public static synchronized DbHelper getInstance(Context context) {
if (instance == null) {
instance = new DbHelper(context);
}
