private synchronized void unRemove ( Link link ) throws StateErrorException , ObjectManagerException { // Make the link visible again. link . setState ( Link . nextStateForRequestUnDelete ) ; availableHead = head ; skipToBeDeleted ( ) ; if ( link . state == Link . stateAdded ) { // Adjust list visible length available. incrementAvailableSize ( ) ; // Release space we reserved in the store. owningToken . objectStore . reserve ( - ( int ) storeSpaceForRemove ( ) , false ) ; } }
Restore a link so that it is visible again in the list .