This is an automated email from the ASF dual-hosted git repository.

fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git

commit 8c6da205595d7a0763b9e28adb5a2dfad3cf2e14
Author: Anass BENOMAR <[email protected]>
AuthorDate: Mon Aug 26 18:05:18 2019 +0100

    Refactor: Replace rowIndx variable name with rowIndex
    
    Part of #482 on github
---
 .../main/java/org/apache/jmeter/config/gui/ArgumentsPanel.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/src/core/src/main/java/org/apache/jmeter/config/gui/ArgumentsPanel.java 
b/src/core/src/main/java/org/apache/jmeter/config/gui/ArgumentsPanel.java
index 5810083..eaaf228 100644
--- a/src/core/src/main/java/org/apache/jmeter/config/gui/ArgumentsPanel.java
+++ b/src/core/src/main/java/org/apache/jmeter/config/gui/ArgumentsPanel.java
@@ -423,17 +423,17 @@ public class ArgumentsPanel extends AbstractConfigGui 
implements ActionListener
 
     /**
      * ensure that a row is visible in the viewport
-     * @param rowIndx row index
+     * @param rowIndex row index
      */
-    private void scrollToRowIfNotVisible(int rowIndx) {
+    private void scrollToRowIfNotVisible(int rowIndex) {
         if(table.getParent() instanceof JViewport) {
             Rectangle visibleRect = table.getVisibleRect();
             final int cellIndex = 0;
-            Rectangle cellRect = table.getCellRect(rowIndx, cellIndex, false);
+            Rectangle cellRect = table.getCellRect(rowIndex, cellIndex, false);
             if (visibleRect.y > cellRect.y) {
                 table.scrollRectToVisible(cellRect);
             } else {
-                Rectangle rect2 = table.getCellRect(rowIndx + 
getNumberOfVisibleRows(table), cellIndex, true);
+                Rectangle rect2 = table.getCellRect(rowIndex + 
getNumberOfVisibleRows(table), cellIndex, true);
                 int width = rect2.y - cellRect.y;
                 table.scrollRectToVisible(new Rectangle(cellRect.x, 
cellRect.y, cellRect.width, cellRect.height + width));
             }

Reply via email to