@Override
    public void clearMergedPath( ArtifactStore originatingStore, Set<Group> affectedGroups, String path )
    {
        final Map<String, MetadataInfo> metadataMap = versionMetadataCache.get( originatingStore.getKey() );

        if ( metadataMap != null && !metadataMap.isEmpty() )
        {
            if ( metadataMap.get( path ) != null )
            {
                metadataMap.remove( path );
                affectedGroups.forEach( group -> {
                    final Map<String, MetadataInfo> grpMetaMap = versionMetadataCache.get( group.getKey() );
                    if ( grpMetaMap != null && !grpMetaMap.isEmpty() )
                    {
                        grpMetaMap.remove( path );
                    }
                } );
            }
        }
    }
@Override
    public void clearMergedPath( ArtifactStore originatingStore, Set<Group> affectedGroups, String path )
    {
        final Map<String, MetadataInfo> metadataMap = versionMetadataCache.get( originatingStore.getKey() );

        if ( metadataMap != null && !metadataMap.isEmpty() )
        {
            if ( metadataMap.get( path ) != null )
            {
                metadataMap.remove( path );
                affectedGroups.forEach( group -> {
                    final Map<String, MetadataInfo> grpMetaMap = versionMetadataCache.get( group.getKey() );
                    if ( grpMetaMap != null && !grpMetaMap.isEmpty() )
                    {
                        grpMetaMap.remove( path );
                    }
                } );
            }
        }
    }
@ Override public void clearMergedPath ( ArtifactStore originatingStore , Set < Group > affectedGroups , String path ) { final Map < String , MetadataInfo > metadataMap = versionMetadataCache . get ( originatingStore . getKey ( ) ) ; if ( metadataMap != null && ! metadataMap . isEmpty ( ) ) { if ( metadataMap . get ( path ) != null ) { metadataMap . remove ( path ) ; affectedGroups . forEach ( group -> { final Map < String , MetadataInfo > grpMetaMap = versionMetadataCache . get ( group . getKey ( ) ) ; if ( grpMetaMap != null && ! grpMetaMap . isEmpty ( ) ) { grpMetaMap . remove ( path ) ; } } ) ; } } }
Will clear the both merge path and merge info file of member and group contains that member(cascaded)
if that path of file changed in the member of #originatingStore
Will clear the both merge path and merge info file of member and group contains that member ( cascaded ) if that path of file changed in the member of #originatingStore