#vulnerable code 
                                public static IndependentThread getInstance() {
        if (instance == null) {
            new IndependentThread().start();
        }
        return instance;
    } 
                            #location 5 
                            #vulnerability type THREAD_SAFETY_VIOLATION
#fixed code
                                public static IndependentThread getInstance() {
        if (instance == null) {
            new IndependentThread().start();
        }

        return instance;
    }