In the method getLockToken() itself, line:367, either remove or use:
final StatusLine status = response.getStatusLine();