Github user pmouawad commented on the issue:

    https://github.com/apache/jmeter/pull/298
  
    Hi Felix,
    Looks good to me.
    
    I'd just change a bit in HTTPJavaImpl#getHeaders(HeaderManager 
headerManager) to:
    `    private Header[] getHeaders(HeaderManager headerManager) {
            if (headerManager != null) {
                final CollectionProperty headers = headerManager.getHeaders();
                if (headers != null) {
                    List<Header> allHeaders = new ArrayList<>(headers.size());
                    for (final JMeterProperty jMeterProperty : headers) {
                        allHeaders.add((Header) 
jMeterProperty.getObjectValue());
                    }
                    return allHeaders.toArray(new Header[allHeaders.size()]);
                }
            }
            return new Header[0];
        }`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to