jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1852955 - /jmeter/trunk/src/core/org/apache/jmeter/gui/action/SchematicView.java
Date Mon, 04 Feb 2019 22:01:59 GMT
Author: pmouawad
Date: Mon Feb  4 22:01:59 2019
New Revision: 1852955

URL: http://svn.apache.org/viewvc?rev=1852955&view=rev
Log:
SONAR : Fix useless assignement

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

Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/action/SchematicView.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/action/SchematicView.java?rev=1852955&r1=1852954&r2=1852955&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/action/SchematicView.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/action/SchematicView.java Mon Feb  4 22:01:59
2019
@@ -71,7 +71,7 @@ public class SchematicView extends Abstr
                 throws Exception {
             TransformerFactory factory = TransformerFactory.newInstance(
                     "net.sf.saxon.BasicTransformerFactory", Thread.currentThread().getContextClassLoader());
-            Source xslt = null;
+            Source xslt;
             if (StringUtils.isEmpty(DEFAULT_XSL_FILE)) {
                 log.info("Will use file {} for Schematic View generation", DEFAULT_XSL_FILE);
                 xslt = new StreamSource(new File(DEFAULT_XSL_FILE));



Mime
View raw message