jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject [jmeter] 05/06: Add generic type info
Date Sun, 30 Aug 2020 08:01:38 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 ead6b9c1aab3aca202e719336dc9cf4d4635777a
Author: Felix Schumacher <felix.schumacher@internetallee.de>
AuthorDate: Wed Aug 26 12:06:11 2020 +0200

    Add generic type info
---
 .../java/org/apache/jmeter/protocol/http/proxy/gui/RecorderDialog.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/RecorderDialog.java
b/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/proxy/gui/RecorderDialog.java
index 210b4eb..d542faf 100644
--- a/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/proxy/gui/RecorderDialog.java
+++ b/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/proxy/gui/RecorderDialog.java
@@ -203,7 +203,7 @@ public class RecorderDialog extends JDialog implements ItemListener, KeyListener
     @Override
     public void itemStateChanged(ItemEvent e) {
         if (e.getSource() instanceof JComboBox) {
-            JComboBox combo = (JComboBox) e.getSource();
+            JComboBox<?> combo = (JComboBox<?>) e.getSource();
             if(ProxyControlGui.HTTP_SAMPLER_NAMING_MODE.equals(combo.getName())){
                 recorderGui.setHTTPSampleNamingMode(httpSampleNamingMode.getSelectedIndex());
                 sampleNameFormat.setEnabled(httpSampleNamingMode.getSelectedIndex() == 3);


Mime
View raw message