我面临错误无法从 int 转换为布尔值,这是我遇到此问题的代码。
private boolean seeDB()
{
int i = 1;
SQLiteDatabase localSQLiteDatabase = null;
try
{
localSQLiteDatabase = SQLiteDatabase.openDatabase(DB_PATH + DB_NAME, null, 1);
localSQLiteDatabase = localSQLiteDatabase;
label01:
if (localSQLiteDatabase != null)
localSQLiteDatabase.close();
if (localSQLiteDatabase != null);
while (true)
{
return i;
}
}
catch (SQLiteException localSQLiteException)
{
break label01;
}
}