diff --git a/Core/src/org/sleuthkit/autopsy/casemodule/Case.java b/Core/src/org/sleuthkit/autopsy/casemodule/Case.java index 050a1a6304..e1a4fe6e9b 100644 --- a/Core/src/org/sleuthkit/autopsy/casemodule/Case.java +++ b/Core/src/org/sleuthkit/autopsy/casemodule/Case.java @@ -70,8 +70,7 @@ import org.sleuthkit.datamodel.SleuthkitJNI.CaseDbHandle.AddImageProcess; * open at a time. Use getCurrentCase() to retrieve the object for the current * case. */ -@SuppressWarnings("deprecation") // TODO: Remove this when ErrorObserver is replaced. -public class Case implements SleuthkitCase.ErrorObserver { +public class Case { private static final String autopsyVer = Version.getVersion(); // current version of autopsy. Change it when the version is changed private static final String EVENT_CHANNEL_NAME = "%s-Case-Events"; @@ -224,7 +223,6 @@ public class Case implements SleuthkitCase.ErrorObserver { * constructor. */ private void init() { - db.addErrorObserver(this); } /** @@ -1342,11 +1340,6 @@ public class Case implements SleuthkitCase.ErrorObserver { } } - @Override - public void receiveError(String context, String errorMessage) { - MessageNotifyUtil.Notify.error(context, errorMessage); - } - /** * Adds a report to the case. *