#fixed code
                             public int getResponseCode() {
		requireSucceededRequestState();
		return responseCode;
	}
#vulnerable code 
                             public int getResponseCode() {
		if (response == null) {
			throw new IllegalStateException("The request must first be executed");
		}
		return response.getCode();
	} 
                            #location 5 
                            #vulnerability type THREAD_SAFETY_VIOLATION