jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1774952 - /jmeter/trunk/src/core/org/apache/jmeter/services/FileServer.java
Date Sun, 18 Dec 2016 21:04:25 GMT
Author: pmouawad
Date: Sun Dec 18 21:04:25 2016
New Revision: 1774952

URL: http://svn.apache.org/viewvc?rev=1774952&view=rev
Log:
ignore false positive

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/services/FileServer.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/services/FileServer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/services/FileServer.java?rev=1774952&r1=1774951&r2=1774952&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/services/FileServer.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/services/FileServer.java Sun Dec 18 21:04:25 2016
@@ -355,7 +355,7 @@ public class FileServer {
                 fileEntry.inputOutputObject = reader;
                 if (firstLineIsNames) {
                     // read first line and forget
-                    reader.readLine();
+                    reader.readLine();//NOSONAR
                 }
                 line = reader.readLine();
             }
@@ -388,7 +388,7 @@ public class FileServer {
                 fileEntry.inputOutputObject = reader;
                 if (firstLineIsNames) {
                     // read first line and forget
-                    reader.readLine();
+                    reader.readLine(); //NOSONAR
                 }                
             } else if (!(fileEntry.inputOutputObject instanceof Reader)) {
                 throw new IOException("File " + alias + " already in use");
@@ -403,7 +403,7 @@ public class FileServer {
                         fileEntry.inputOutputObject = reader;
                         if (firstLineIsNames) {
                             // read first line and forget
-                            reader.readLine();
+                            reader.readLine(); //NOSONAR
                         }                
                     } else { // OK, we still have some data, restore it
                         reader.reset();



Mime
View raw message