You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/06/16 15:03:39 UTC

[commons-configuration] branch master updated: Better parameter name.

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-configuration.git


The following commit(s) were added to refs/heads/master by this push:
     new 0f98abb5 Better parameter name.
0f98abb5 is described below

commit 0f98abb55826cabcd53395ac53c0dd7dab9a7e4c
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Jun 16 11:03:34 2022 -0400

    Better parameter name.
---
 .../org/apache/commons/configuration2/beanutils/BeanHelper.java     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/commons/configuration2/beanutils/BeanHelper.java b/src/main/java/org/apache/commons/configuration2/beanutils/BeanHelper.java
index d3b85389..1721baf5 100644
--- a/src/main/java/org/apache/commons/configuration2/beanutils/BeanHelper.java
+++ b/src/main/java/org/apache/commons/configuration2/beanutils/BeanHelper.java
@@ -96,10 +96,10 @@ public final class BeanHelper {
     /**
      * Constructs a new instance of {@code BeanHelper} and sets the specified default {@code BeanFactory}.
      *
-     * @param defFactory the default {@code BeanFactory} (can be <b>null</b>, then a default instance is used)
+     * @param defaultBeanFactory the default {@code BeanFactory} (can be <b>null</b>, then a default instance is used)
      */
-    public BeanHelper(final BeanFactory defFactory) {
-        defaultBeanFactory = defFactory != null ? defFactory : DefaultBeanFactory.INSTANCE;
+    public BeanHelper(final BeanFactory defaultBeanFactory) {
+        this.defaultBeanFactory = defaultBeanFactory != null ? defaultBeanFactory : DefaultBeanFactory.INSTANCE;
     }
 
     /**