You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2016/12/31 15:09:56 UTC
svn commit: r1776774 -
/jmeter/trunk/src/core/org/apache/jmeter/gui/util/FilePanelEntry.java
Author: pmouawad
Date: Sat Dec 31 15:09:56 2016
New Revision: 1776774
URL: http://svn.apache.org/viewvc?rev=1776774&view=rev
Log:
Sonar : fix fix false positive squid:CommentedOutCodeLine "This block of commented-out lines of code should be removed. "
Modified:
jmeter/trunk/src/core/org/apache/jmeter/gui/util/FilePanelEntry.java
Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/util/FilePanelEntry.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/util/FilePanelEntry.java?rev=1776774&r1=1776773&r2=1776774&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/util/FilePanelEntry.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/util/FilePanelEntry.java Sat Dec 31 15:09:56 2016
@@ -82,7 +82,7 @@ public class FilePanelEntry extends Hori
listeners.add(listener);
}
if (exts != null &&
- !(exts.length == 1 && exts[0] == null) // String null is converted to String[]{null}
+ !(exts.length == 1 && exts[0] == null) // String null is converted to String[]{null} NOSONAR it's not code
) {
this.filetypes = new String[exts.length];
System.arraycopy(exts, 0, this.filetypes, 0, exts.length);