From d5cc18badf2f5d66f254ed32f62905bd6777fb19 Mon Sep 17 00:00:00 2001 From: Richard Cordovano <rcordovano@basistech.com> Date: Fri, 9 Apr 2021 15:52:42 -0400 Subject: [PATCH] Remove unused OsAccount method --- .../java/src/org/sleuthkit/datamodel/OsAccount.java | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/bindings/java/src/org/sleuthkit/datamodel/OsAccount.java b/bindings/java/src/org/sleuthkit/datamodel/OsAccount.java index 97e03d45a..74170cb6c 100644 --- a/bindings/java/src/org/sleuthkit/datamodel/OsAccount.java +++ b/bindings/java/src/org/sleuthkit/datamodel/OsAccount.java @@ -46,7 +46,7 @@ public final class OsAccount extends AbstractContent { private final String loginName; // user login name - may be null private final String addr; // a unique user sid/uid, may be null - private String signature; // This exists only to prevent duplicates. + private final String signature; // This exists only to prevent duplicates. // Together realm_id & signature must be unique for each account. // It is either addr if addr is defined, // or the login_name if login_name is defined. @@ -380,16 +380,6 @@ public synchronized List<OsAccountInstance> getOsAccountInstances() throws TskCo return Collections.unmodifiableList(osAccountInstances); } - /** - * Updates the account signature with unique id or name. - * - * @throws TskCoreException If there is an error updating the account - * signature. - */ - private void updateSignature() throws TskCoreException { - signature = OsAccountManager.getOsAccountSignature(this.addr, this.loginName); - } - /** * Gets the SleuthKit case database for this account. * -- GitLab