You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by se...@apache.org on 2016/01/14 22:29:26 UTC
svn commit: r1724695 -
/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java
Author: sebb
Date: Thu Jan 14 21:29:26 2016
New Revision: 1724695
URL: http://svn.apache.org/viewvc?rev=1724695&view=rev
Log:
Unnecessary warning
Modified:
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java
Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java?rev=1724695&r1=1724694&r2=1724695&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java (original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java Thu Jan 14 21:29:26 2016
@@ -607,6 +607,7 @@ public class ProxyControl extends Generi
// Iterate over subconfig elements searching for HeaderManager
for (TestElement te : subConfigs) {
if (te instanceof HeaderManager) {
+ @SuppressWarnings("unchecked") // headers should only contain the correct classes
List<TestElementProperty> headers = (ArrayList<TestElementProperty>) ((HeaderManager) te).getHeaders().getObjectValue();
for (Iterator<?> iterator = headers.iterator(); iterator.hasNext();) {
TestElementProperty tep = (TestElementProperty) iterator