jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject [jmeter] 04/06: Add type argument
Date Sun, 30 Aug 2020 08:01:37 GMT
This is an automated email from the ASF dual-hosted git repository.

fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git

commit c81d287631bee92a39208186dcc4330c4262b78b
Author: Felix Schumacher <felix.schumacher@internetallee.de>
AuthorDate: Sun Aug 16 11:22:31 2020 +0200

    Add type argument
---
 .../java/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java
b/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java
index f8a7217..da28751 100644
--- a/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java
+++ b/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java
@@ -422,7 +422,7 @@ public class ProxyControlGui extends LogicControllerGui implements JMeterGUIComp
     @Override
     public void itemStateChanged(ItemEvent e) {
         if (e.getSource() instanceof JComboBox) {
-            JComboBox combo = (JComboBox) e.getSource();
+            JComboBox<?> combo = (JComboBox<?>) e.getSource();
             if (HTTP_SAMPLER_NAMING_MODE.equals(combo.getName())) {
                 model.setHTTPSampleNamingMode(httpSampleNamingMode.getSelectedIndex());
                 httpSampleNameFormat.setEnabled(httpSampleNamingMode.getSelectedIndex() ==
3);


Mime
View raw message