mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
Fix codacy error
This commit is contained in:
parent
0c848f8fdd
commit
1115f5ca47
@ -427,9 +427,9 @@ final class AddLogicalImageTask implements Runnable {
|
|||||||
query = String.format("data_source_obj_id = '%s' AND meta_addr = '%s' AND name = '%s'", // NON-NLS
|
query = String.format("data_source_obj_id = '%s' AND meta_addr = '%s' AND name = '%s'", // NON-NLS
|
||||||
dataSourceObjId.toString(), fileMetaAddressStr, filename.replace("'", "''"));
|
dataSourceObjId.toString(), fileMetaAddressStr, filename.replace("'", "''"));
|
||||||
} else {
|
} else {
|
||||||
parentPath = "/" + ROOT_STR + "/" + vhdFilename + "/" + parentPath;
|
String newParentPath = "/" + ROOT_STR + "/" + vhdFilename + "/" + parentPath;
|
||||||
query = String.format("name = '%s' AND parent_path = '%s'", // NON-NLS
|
query = String.format("name = '%s' AND parent_path = '%s'", // NON-NLS
|
||||||
filename.replace("'", "''"), parentPath.replace("'", "''"));
|
filename.replace("'", "''"), newParentPath.replace("'", "''"));
|
||||||
}
|
}
|
||||||
return query;
|
return query;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user