mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-19 11:07:43 +00:00
Removed log message
This commit is contained in:
parent
45343f6930
commit
fe5d9736ce
@ -625,11 +625,11 @@ public class ContactArtifactViewer extends javax.swing.JPanel implements Artifac
|
|||||||
protected Map<Persona, ArrayList<CentralRepoAccount>> doInBackground() throws Exception {
|
protected Map<Persona, ArrayList<CentralRepoAccount>> doInBackground() throws Exception {
|
||||||
|
|
||||||
Map<Persona, ArrayList<CentralRepoAccount>> uniquePersonas = new HashMap<>();
|
Map<Persona, ArrayList<CentralRepoAccount>> uniquePersonas = new HashMap<>();
|
||||||
CommunicationsManager commManager = Case.getCurrentCase().getSleuthkitCase().getCommunicationsManager();
|
CommunicationsManager commManager = Case.getCurrentCase().getSleuthkitCase().getCommunicationsManager();
|
||||||
List<Account> contactAccountsList = commManager.getAccountsRelatedToArtifact(artifact);
|
List<Account> contactAccountsList = commManager.getAccountsRelatedToArtifact(artifact);
|
||||||
|
|
||||||
for (Account account : contactAccountsList) {
|
for (Account account : contactAccountsList) {
|
||||||
try{
|
try {
|
||||||
if (isCancelled()) {
|
if (isCancelled()) {
|
||||||
return new HashMap<>();
|
return new HashMap<>();
|
||||||
}
|
}
|
||||||
@ -668,13 +668,11 @@ public class ContactArtifactViewer extends javax.swing.JPanel implements Artifac
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch(InvalidAccountIDException ex) {
|
} catch (InvalidAccountIDException ex) {
|
||||||
// Do nothing, the account has an identifier that
|
// Do nothing, the account has an identifier that not an
|
||||||
// the CR doesn't doesn't like.
|
// acceptable format for the cr.
|
||||||
logger.warning(String.format("Account has a id that the CR has found invalid (Type specific ID %s) (id=%d)", account.getTypeSpecificID(), account.getAccountID()));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return uniquePersonas;
|
return uniquePersonas;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user