private void updateStatsTree() {
        if (myStatsWithChildren == null)
            return;

        ArrayList colMembers = myStatsWithChildren.subCollections();
        if (colMembers == null)
            return;

        colMembers.clear();

        // getStats from children
        ModuleItem[] items = children();
        if (items != null) {
            for (int i = 0; i < items.length; i++)
                colMembers.add(items[i].getStats(true));
        }
    }
private void updateStatsTree ( ) { if ( myStatsWithChildren == null ) return ; ArrayList colMembers = myStatsWithChildren . subCollections ( ) ; if ( colMembers == null ) return ; colMembers . clear ( ) ; ModuleItem [ ] items = children ( ) ; if ( items != null ) { for ( int i = 0 ; i < items . length ; i ++ ) colMembers . add ( items [ i ] . getStats ( true ) ) ; } }
refresh the stats tree to remove any stats: called when a module item is removed