jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1784382 - /jmeter/trunk/src/core/org/apache/jmeter/gui/NamePanel.java
Date Sat, 25 Feb 2017 14:24:07 GMT
Author: fschumacher
Date: Sat Feb 25 14:24:07 2017
New Revision: 1784382

URL: http://svn.apache.org/viewvc?rev=1784382&view=rev
Log:
Add hint for sonar that it should not warn us.

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

Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/NamePanel.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/NamePanel.java?rev=1784382&r1=1784381&r2=1784382&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/NamePanel.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/NamePanel.java Sat Feb 25 14:24:07 2017
@@ -72,7 +72,7 @@ public class NamePanel extends JPanel im
      */
     @Override
     public String getName() {
-        if (nameField != null) {
+        if (nameField != null) { // NOSONAR this field seems to be null in the constructor
             return nameField.getText();
         }
         return ""; // $NON-NLS-1$



Mime
View raw message