protected void removeItem ( final ItemData item ) { final String itemId = item . getIdentifier ( ) ; cache . remove ( new CacheId ( itemId ) ) ; final CacheValue v2 = cache . remove ( new CacheQPath ( item . getParentIdentifier ( ) , item . getQPath ( ) , ItemType . getItemType ( item ) ) ) ; if ( v2 != null && ! v2 . getItem ( ) . getIdentifier ( ) . equals ( itemId ) ) { // same path but diff identifier node... phantom removeItem ( v2 . getItem ( ) ) ; } }
Remove item from cache C .