jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1776883 - /jmeter/trunk/src/core/org/apache/jmeter/gui/action/LoggerPanelEnableDisable.java
Date Sun, 01 Jan 2017 21:23:27 GMT
Author: pmouawad
Date: Sun Jan  1 21:23:27 2017
New Revision: 1776883

URL: http://svn.apache.org/viewvc?rev=1776883&view=rev
Log:
Sonar : fix squid:UselessParenthesesCheck Remove those useless parentheses.

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

Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/action/LoggerPanelEnableDisable.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/action/LoggerPanelEnableDisable.java?rev=1776883&r1=1776882&r2=1776883&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/action/LoggerPanelEnableDisable.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/action/LoggerPanelEnableDisable.java Sun Jan
 1 21:23:27 2017
@@ -64,7 +64,7 @@ public class LoggerPanelEnableDisable ex
     public void doAction(ActionEvent e) {
         if (ActionNames.LOGGER_PANEL_ENABLE_DISABLE.equals(e.getActionCommand())) {
             GuiPackage guiInstance = GuiPackage.getInstance();
-            JSplitPane splitPane = ((JSplitPane) guiInstance.getLoggerPanel().getParent());
+            JSplitPane splitPane = (JSplitPane) guiInstance.getLoggerPanel().getParent();
             if (!guiInstance.getLoggerPanel().isVisible()) {
                 splitPane.setDividerSize(UIManager.getInt("SplitPane.dividerSize"));
                 guiInstance.getLoggerPanel().setVisible(true);



Mime
View raw message