jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1774971 - /jmeter/trunk/src/jorphan/org/apache/jorphan/logging/LoggingManager.java
Date Sun, 18 Dec 2016 22:17:00 GMT
Author: pmouawad
Date: Sun Dec 18 22:16:59 2016
New Revision: 1774971

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

Modified:
    jmeter/trunk/src/jorphan/org/apache/jorphan/logging/LoggingManager.java

Modified: jmeter/trunk/src/jorphan/org/apache/jorphan/logging/LoggingManager.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/jorphan/org/apache/jorphan/logging/LoggingManager.java?rev=1774971&r1=1774970&r2=1774971&view=diff
==============================================================================
--- jmeter/trunk/src/jorphan/org/apache/jorphan/logging/LoggingManager.java (original)
+++ jmeter/trunk/src/jorphan/org/apache/jorphan/logging/LoggingManager.java Sun Dec 18 22:16:59
2016
@@ -181,12 +181,12 @@ public final class LoggingManager {
         try {
             File logFileAsFile = new File(logFile);
             System.out.println("Writing log file to: "+logFileAsFile.getAbsolutePath());
-            wt = new FileWriter(logFile);
+            wt = new FileWriter(logFile); //NOSONAR
         } catch (Exception e) {
             System.out.println(propName + "=" + logFile + " " + e.toString());
             System.out.println("[" + propName + "-> System.out]");
             isWriterSystemOut = true;
-            wt = new PrintWriter(System.out);
+            wt = new PrintWriter(System.out); //NOSONAR
         }
         return wt;
     }



Mime
View raw message