commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject [commons-lang] branch master updated: Don't use 'p' as a parameter name prefix (we don't do that anywhere else.)
Date Fri, 14 Feb 2020 23:53:01 GMT
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git


The following commit(s) were added to refs/heads/master by this push:
     new 84197ae  Don't use 'p' as a parameter name prefix (we don't do that anywhere else.)
84197ae is described below

commit 84197ae4e791b8b01fde1dd246c06b1922ecc605
Author: Gary Gregory <garydgregory@gmail.com>
AuthorDate: Fri Feb 14 18:52:57 2020 -0500

    Don't use 'p' as a parameter name prefix (we don't do that anywhere
    else.)
    
    Add missing Javadoc.
---
 src/main/java/org/apache/commons/lang3/Streams.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/commons/lang3/Streams.java b/src/main/java/org/apache/commons/lang3/Streams.java
index 07a400d..b5e7d43 100644
--- a/src/main/java/org/apache/commons/lang3/Streams.java
+++ b/src/main/java/org/apache/commons/lang3/Streams.java
@@ -439,8 +439,8 @@ public class Streams {
         private static final Set<Characteristics> characteristics = Collections.emptySet();
         private final Class<O> elementType;
 
-        public ArrayCollector(final Class<O> pElementType) {
-            elementType = pElementType;
+        public ArrayCollector(final Class<O> elementType) {
+            this.elementType = elementType;
         }
 
         @Override


Mime
View raw message