jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1825828 - /jmeter/trunk/src/core/org/apache/jmeter/gui/action/SearchTreeDialog.java
Date Sun, 04 Mar 2018 17:29:45 GMT
Author: pmouawad
Date: Sun Mar  4 17:29:44 2018
New Revision: 1825828

URL: http://svn.apache.org/viewvc?rev=1825828&view=rev
Log:
Bug 62155 - Search Feature: Make Search text field get focus
Drop outdated fixme
Add NOSONAR on non significant warning related to inheritance
Fix sonar warning on parameter of format
Bugzilla Id: 62155

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/SearchTreeDialog.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/action/SearchTreeDialog.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/action/SearchTreeDialog.java?rev=1825828&r1=1825827&r2=1825828&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/action/SearchTreeDialog.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/action/SearchTreeDialog.java Sun Mar  4 17:29:44
2018
@@ -63,9 +63,9 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 /**
- * FIXME Why is searchTF not getting focus correctly after having been setVisible(false)
once
+ * Dialog to search in tree of element
  */
-public class SearchTreeDialog extends JDialog implements ActionListener {
+public class SearchTreeDialog extends JDialog implements ActionListener { // NOSONAR
 
     private static final long serialVersionUID = -4436834972710248247L;
 
@@ -261,7 +261,7 @@ public class SearchTreeDialog extends JD
         searchTF.requestFocusInWindow();
         statusLabel.setText(
                 MessageFormat.format(
-                        JMeterUtils.getResString("search_tree_matches"),new Object[]{numberOfMatches}));
+                        JMeterUtils.getResString("search_tree_matches"), numberOfMatches));
     }
     
     /**



Mime
View raw message