You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2019/08/29 20:04:00 UTC

[jmeter] 10/13: Rename variable: replace newlist by newList

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 93fb4a626223ab41339ad12b3b90cf3175f57c1b
Author: Anass BENOMAR <an...@gmail.com>
AuthorDate: Mon Aug 26 18:17:43 2019 +0100

    Rename variable: replace newlist by newList
    
    Part of #482 on github
---
 .../org/apache/jmeter/protocol/java/control/gui/ClassFilter.java  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/protocol/junit/src/main/java/org/apache/jmeter/protocol/java/control/gui/ClassFilter.java b/src/protocol/junit/src/main/java/org/apache/jmeter/protocol/java/control/gui/ClassFilter.java
index 4905466..cbdf2f5 100644
--- a/src/protocol/junit/src/main/java/org/apache/jmeter/protocol/java/control/gui/ClassFilter.java
+++ b/src/protocol/junit/src/main/java/org/apache/jmeter/protocol/java/control/gui/ClassFilter.java
@@ -45,14 +45,14 @@ class ClassFilter {
     }
 
     String[] filterArray(List<String> items) {
-        List<String> newlist = new ArrayList<>();
+        List<String> newList = new ArrayList<>();
         for (String item : items) {
             if (include(item)) {
-                newlist.add(item);
+                newList.add(item);
             }
         }
-        if (!newlist.isEmpty()) {
-            return newlist.toArray(ArrayUtils.EMPTY_STRING_ARRAY);
+        if (!newList.isEmpty()) {
+            return newList.toArray(ArrayUtils.EMPTY_STRING_ARRAY);
         } else {
             return ArrayUtils.EMPTY_STRING_ARRAY;
         }