#vulnerable code 
                                public int getConnectionLostTimeout() {
        return connectionLostTimeout;
    } 
                            #location 2 
                            #vulnerability type THREAD_SAFETY_VIOLATION
#fixed code
                                public int getConnectionLostTimeout() {
		synchronized (syncConnectionLost) {
			return connectionLostTimeout;
		}
    }