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 2021/02/28 22:41:09 UTC
[commons-jcs] branch master updated: Use varargs.
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-jcs.git
The following commit(s) were added to refs/heads/master by this push:
new 13faffc Use varargs.
13faffc is described below
commit 13faffcef8c42398a755f642bde9afa7640af32b
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Feb 28 17:41:05 2021 -0500
Use varargs.
---
.../main/java/org/apache/commons/jcs3/utils/config/PropertySetter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/utils/config/PropertySetter.java b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/utils/config/PropertySetter.java
index fed9f15..bd26f5a 100644
--- a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/utils/config/PropertySetter.java
+++ b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/utils/config/PropertySetter.java
@@ -213,7 +213,7 @@ public class PropertySetter
log.debug( "Setting property [{0}] to [{1}].", name, arg );
try
{
- setter.invoke( obj, new Object[] { arg } );
+ setter.invoke( obj, arg );
}
catch ( final Exception ex )
{