#vulnerable code 
                                @Override
    public void clear() {
        nest.del();
        refreshStorage(true);
    } 
                            #location 3 
                            #vulnerability type THREAD_SAFETY_VIOLATION
#fixed code
                                @Override
    public void clear() {
        nest.del();
    }