some coding practice and potential bug fixes
This commit is contained in:
@@ -1017,7 +1017,10 @@ public class Apg {
|
||||
keyIds.add(c.getInt(0));
|
||||
} while (c.moveToNext());
|
||||
}
|
||||
c.close();
|
||||
|
||||
if (c != null) {
|
||||
c.close();
|
||||
}
|
||||
|
||||
return keyIds;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user