#fixed code
                                public long getIdleTimeMillis() {
        return System.currentTimeMillis() - lastReturnTime;
    }
#vulnerable code 
                                public long getIdleTimeMillis() {
        return System.currentTimeMillis() - lastActiveTime;
    } 
                            #location 2 
                            #vulnerability type THREAD_SAFETY_VIOLATION