#fixed code
                                @Override
    public void setThread(int thread) {
        poolSize = thread;
    }
#vulnerable code 
                                @Override
    public void setThread(int thread) {
        poolSize = thread;
        httpClientPool = new HttpClientPool(thread);
    } 
                            #location 4 
                            #vulnerability type THREAD_SAFETY_VIOLATION