#vulnerable code 
                                @Override
    public void setThread(int thread) {
        poolSize = thread;
    } 
                            #location 3 
                            #vulnerability type THREAD_SAFETY_VIOLATION
#fixed code
                                @Override
    public void setThread(int thread) {
        httpClientGenerator.setPoolSize(thread);
    }