From 0bdf729909b105f9fb0837a7d02c3f8845311249 Mon Sep 17 00:00:00 2001 From: apriestman <apriestman@basistech.com> Date: Thu, 9 Jul 2020 13:03:06 -0400 Subject: [PATCH] Fixing some formatting --- .../src/org/sleuthkit/datamodel/JniDbHelper.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bindings/java/src/org/sleuthkit/datamodel/JniDbHelper.java b/bindings/java/src/org/sleuthkit/datamodel/JniDbHelper.java index 95df24bf8..0b753b624 100644 --- a/bindings/java/src/org/sleuthkit/datamodel/JniDbHelper.java +++ b/bindings/java/src/org/sleuthkit/datamodel/JniDbHelper.java @@ -375,12 +375,12 @@ private long addBatchedFilesToDb() { } } commitTransaction(); - try { - addDataSourceCallbacks.onFilesAdded(newObjIds); + try { + addDataSourceCallbacks.onFilesAdded(newObjIds); } catch (Exception ex) { - // Exception firewall to prevent unexpected return to the native code - logger.log(Level.SEVERE, "Unexpected error from files added callback", ex); - } + // Exception firewall to prevent unexpected return to the native code + logger.log(Level.SEVERE, "Unexpected error from files added callback", ex); + } } catch (TskCoreException ex) { logger.log(Level.SEVERE, "Error adding batched files to database", ex); revertTransaction(); @@ -414,7 +414,7 @@ private long getParentObjId(FileInfo fileInfo) throws TskCoreException { // stored in the cache. throw new TskCoreException("Parent not found in cache (fsObjId: " +fileInfo.fsObjId + ", parMetaAddr: " + fileInfo.parMetaAddr + ", parSeq: " + fileInfo.parSeq + ", parentPath: " + parentPath + ")"); - } + } } /** -- GitLab