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 f8135c3c Import type instead of using FQCN
f8135c3c is described below

commit f8135c3cffae8850d7b20ebf01963f0266329449
Author: Gary Gregory <[email protected]>
AuthorDate: Thu Jun 16 18:57:37 2022 -0400

    Import type instead of using FQCN
---
 .../configuration2/spring/ConfigurationPropertiesFactoryBean.java    | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/configuration2/spring/ConfigurationPropertiesFactoryBean.java
 
b/src/main/java/org/apache/commons/configuration2/spring/ConfigurationPropertiesFactoryBean.java
index 1c6107ec..a7f1a5b7 100644
--- 
a/src/main/java/org/apache/commons/configuration2/spring/ConfigurationPropertiesFactoryBean.java
+++ 
b/src/main/java/org/apache/commons/configuration2/spring/ConfigurationPropertiesFactoryBean.java
@@ -33,7 +33,7 @@ import org.springframework.util.Assert;
 /**
  * <p>
  * FactoryBean which wraps a Commons CompositeConfiguration object for usage 
with PropertiesLoaderSupport. This allows
- * the compositeConfiguration object to behave like a normal 
java.util.Properties object which can be passed on to
+ * the compositeConfiguration object to behave like a normal {@link 
Properties} object which can be passed on to
  * setProperties() method allowing PropertyOverrideConfigurer and 
PropertyPlaceholderConfigurer to take advantage of
  * Commons Configuration.
  * </p>
@@ -43,7 +43,6 @@ import org.springframework.util.Assert;
  *
  * @see java.util.Properties
  * @see org.springframework.core.io.support.PropertiesLoaderSupport
- *
  */
 public class ConfigurationPropertiesFactoryBean implements InitializingBean, 
FactoryBean<Properties> {
 
@@ -80,7 +79,7 @@ public class ConfigurationPropertiesFactoryBean implements 
InitializingBean, Fac
      */
     @Override
     public Class<?> getObjectType() {
-        return java.util.Properties.class;
+        return Properties.class;
     }
 
     /**

Reply via email to