mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 01:07:42 +00:00
5621: AppSQLiteDB.close() does not throw IOException.
This commit is contained in:
parent
1ab694ddbc
commit
f7d721479b
@ -47,7 +47,7 @@ import org.sleuthkit.datamodel.TskCoreException;
|
|||||||
* This class makes a copy of it, along with any meta files (WAL, SHM),
|
* This class makes a copy of it, along with any meta files (WAL, SHM),
|
||||||
* opens a SQLite connection to it, and runs queries on it.
|
* opens a SQLite connection to it, and runs queries on it.
|
||||||
*/
|
*/
|
||||||
public final class AppSQLiteDB implements Closeable {
|
public final class AppSQLiteDB {
|
||||||
private final Logger logger = Logger.getLogger(AppSQLiteDB.class.getName());
|
private final Logger logger = Logger.getLogger(AppSQLiteDB.class.getName());
|
||||||
|
|
||||||
private final AbstractFile dbAbstractFile; // AbstractFile for the DB file
|
private final AbstractFile dbAbstractFile; // AbstractFile for the DB file
|
||||||
@ -270,12 +270,10 @@ public final class AppSQLiteDB implements Closeable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Closes the DB connection
|
* Closes the DB connection.
|
||||||
*
|
*
|
||||||
* @throws IOException
|
|
||||||
*/
|
*/
|
||||||
@Override
|
public void close() {
|
||||||
public void close() throws IOException {
|
|
||||||
|
|
||||||
// Close the DB connection
|
// Close the DB connection
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user