Skip to content
Snippets Groups Projects
Unverified Commit 12a3be88 authored by Brian Carrier's avatar Brian Carrier Committed by GitHub
Browse files

Merge pull request #1289 from APriestman/4061_deprecatedMethods

Comment out calls to deprecated methods
parents 50d1e6e7 d069c39f
Branches
Tags
No related merge requests found
...@@ -184,7 +184,7 @@ public long getLastInum() { ...@@ -184,7 +184,7 @@ public long getLastInum() {
public void finalize() throws Throwable { public void finalize() throws Throwable {
try { try {
if (filesystemHandle != 0) { if (filesystemHandle != 0) {
SleuthkitJNI.closeFs(filesystemHandle); // SleuthkitJNI.closeFs(filesystemHandle); // closeFs is currently a no-op
filesystemHandle = 0; filesystemHandle = 0;
} }
} finally { } finally {
......
...@@ -134,7 +134,7 @@ public void close() { ...@@ -134,7 +134,7 @@ public void close() {
public void finalize() throws Throwable { public void finalize() throws Throwable {
try { try {
if (imageHandle != 0) { if (imageHandle != 0) {
SleuthkitJNI.closeImg(imageHandle); // SleuthkitJNI.closeImg(imageHandle); // closeImg is currently a no-op
imageHandle = 0; imageHandle = 0;
} }
} finally { } finally {
......
...@@ -116,7 +116,7 @@ public void close() { ...@@ -116,7 +116,7 @@ public void close() {
if (volumeSystemHandle != 0) { if (volumeSystemHandle != 0) {
synchronized (this) { synchronized (this) {
if (volumeSystemHandle != 0) { if (volumeSystemHandle != 0) {
SleuthkitJNI.closeVs(volumeSystemHandle); // SleuthkitJNI.closeVs(volumeSystemHandle); // closeVs is currently a no-op
volumeSystemHandle = 0; volumeSystemHandle = 0;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment