#vulnerable code 
                                public int size() {
        return java.lang.Math.max(singletons.size(), java.lang.Math.max(backend.size(), cache.size()));
    } 
                            #location 2 
                            #vulnerability type THREAD_SAFETY_VIOLATION
#fixed code
                                public int size() {
        return java.lang.Math.max(assortmentCluster.sizeTotal(), java.lang.Math.max(backend.size(), cache.size()));
    }