mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
Replace uses of LongObjectHashTable with Java's HashMap
This commit is contained in:
parent
7af55169c0
commit
e3aebe3adb
22 changed files with 407 additions and 767 deletions
|
@ -479,7 +479,7 @@ public class AssociationDatabaseManager implements VTAssociationManager {
|
|||
|
||||
if (status == ACCEPTED) {
|
||||
associationDB.setStatus(AVAILABLE);
|
||||
associationCache.invalidate(associationDB.getKey());
|
||||
associationDB.setInvalid();
|
||||
unblockRelatedAssociations(associationDB);
|
||||
for (AssociationHook hook : associationHooks) {
|
||||
hook.associationCleared(associationDB);
|
||||
|
@ -545,7 +545,7 @@ public class AssociationDatabaseManager implements VTAssociationManager {
|
|||
case AVAILABLE:
|
||||
throw new AssertException("Attempted to unblock a non-blocked association!");
|
||||
case BLOCKED:
|
||||
associationCache.invalidate(relatedAssociation.getKey());
|
||||
relatedAssociation.setInvalid();
|
||||
relatedAssociation.setStatus(computeBlockedStatus(relatedAssociation));
|
||||
break;
|
||||
case REJECTED:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue