jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1814651 - in /jmeter/trunk/src/core/org/apache/jmeter/gui: GuiPackage.java action/SaveBeforeRun.java util/JMeterMenuBar.java
Date Wed, 08 Nov 2017 21:34:29 GMT
Author: pmouawad
Date: Wed Nov  8 21:34:28 2017
New Revision: 1814651

URL: http://svn.apache.org/viewvc?rev=1814651&view=rev
Log:
Tab police

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/GuiPackage.java
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/SaveBeforeRun.java
    jmeter/trunk/src/core/org/apache/jmeter/gui/util/JMeterMenuBar.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/GuiPackage.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/GuiPackage.java?rev=1814651&r1=1814650&r2=1814651&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/GuiPackage.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/GuiPackage.java Wed Nov  8 21:34:28 2017
@@ -797,7 +797,7 @@ public final class GuiPackage implements
      * @param menuItemLoggerPanel The menu item LoggerPanel
      */
     public void setMenuItemLoggerPanel(JCheckBoxMenuItem menuItemLoggerPanel) {
-    	this.menuItemLoggerPanel = menuItemLoggerPanel;
+        this.menuItemLoggerPanel = menuItemLoggerPanel;
     }
         
     /**
@@ -806,7 +806,7 @@ public final class GuiPackage implements
      * @return the menu item LoggerPanel
      */
     public JCheckBoxMenuItem getMenuItemLoggerPanel() {
-    	return menuItemLoggerPanel;
+        return menuItemLoggerPanel;
     }
     
     /**

Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/action/SaveBeforeRun.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/action/SaveBeforeRun.java?rev=1814651&r1=1814650&r2=1814651&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/action/SaveBeforeRun.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/action/SaveBeforeRun.java Wed Nov  8 21:34:28
2017
@@ -23,33 +23,33 @@ import java.util.HashSet;
 import java.util.Set;
 
 import org.apache.jmeter.gui.GuiPackage;
+
 /**
- * Save Before Run Action
- * To save test plan before GUI execution
+ * Save Before Run Action To save test plan before GUI execution
  * 
  * @since 4.0
  */
 public class SaveBeforeRun extends AbstractAction {
-	private static final Set<String> commands = new HashSet<>();
-		
-	static {
-		commands.add(ActionNames.SAVE_BEFORE_RUN);
-	}
+    private static final Set<String> commands = new HashSet<>();
+
+    static {
+        commands.add(ActionNames.SAVE_BEFORE_RUN);
+    }
 
-	@Override
-	public Set<String> getActionNames() {
-		return commands;
-	}
+    @Override
+    public Set<String> getActionNames() {
+        return commands;
+    }
 
-	@Override
-	public void doAction(ActionEvent e) {
-		if (ActionNames.SAVE_BEFORE_RUN.equals(e.getActionCommand())) {
-			// toggle boolean preference value
+    @Override
+    public void doAction(ActionEvent e) {
+        if (ActionNames.SAVE_BEFORE_RUN.equals(e.getActionCommand())) {
+            // toggle boolean preference value
             GuiPackage guiInstance = GuiPackage.getInstance();
-			boolean togglePreferenceValue = !guiInstance.shouldSaveBeforeRunByPreference();
-			guiInstance.setSaveBeforeRunByPreference(togglePreferenceValue);
-			// toggle check box
+            boolean togglePreferenceValue = !guiInstance.shouldSaveBeforeRunByPreference();
+            guiInstance.setSaveBeforeRunByPreference(togglePreferenceValue);
+            // toggle check box
             guiInstance.getMenuItemSaveBeforeRunPanel().getModel().setSelected(togglePreferenceValue);
-		}
-	}
+        }
+    }
 }

Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/util/JMeterMenuBar.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/util/JMeterMenuBar.java?rev=1814651&r1=1814650&r2=1814651&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/util/JMeterMenuBar.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/util/JMeterMenuBar.java Wed Nov  8 21:34:28
2017
@@ -371,7 +371,7 @@ public class JMeterMenuBar extends JMenu
         JMenuItem zoomOut = makeMenuItemRes("menu_zoom_out", ActionNames.ZOOM_OUT); //$NON-NLS-1$
         optionsMenu.add(zoomOut);        
         JCheckBoxMenuItem saveBeforeRun = makeCheckBoxMenuItemRes("menu_save_before_run",
ActionNames.SAVE_BEFORE_RUN); //$NON-NLS-1$
-        if (guiInstance != null) {        	
+        if (guiInstance != null) {
             saveBeforeRun.setSelected(guiInstance.shouldSaveBeforeRunByPreference());
             guiInstance.setMenuItemSaveBeforeRunPanel(saveBeforeRun);
         }



Mime
View raw message