#fixed code
                                @Test
    public void testReload() throws Throwable {
        assertEquals(Integer.valueOf(10), reloadableConfig.someValue());

        save(new Properties() {{
            setProperty("someValue", "20");
        }});

        reloadableConfig.reload();
        assertEquals(Integer.valueOf(20), reloadableConfig.someValue());
    }
#vulnerable code 
                                @Test
    public void testReload() throws Throwable {
        assertEquals(Integer.valueOf(10), reloadableConfig.someValue());

        synchronized (target) {
            save(new Properties() {{
                setProperty("someValue", "20");
            }});

            reloadableConfig.reload();
        }
        assertEquals(Integer.valueOf(20), reloadableConfig.someValue());
    } 
                            #location 5 
                            #vulnerability type THREAD_SAFETY_VIOLATION