commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r639023 - /commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/beanutils/BeanDeclaration.java
Date Wed, 19 Mar 2008 21:15:13 GMT
Author: oheger
Date: Wed Mar 19 14:15:11 2008
New Revision: 639023

URL: http://svn.apache.org/viewvc?rev=639023&view=rev
Log:
Improved type safety

Modified:
    commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/beanutils/BeanDeclaration.java

Modified: commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/beanutils/BeanDeclaration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/beanutils/BeanDeclaration.java?rev=639023&r1=639022&r2=639023&view=diff
==============================================================================
--- commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/beanutils/BeanDeclaration.java
(original)
+++ commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/beanutils/BeanDeclaration.java
Wed Mar 19 14:15:11 2008
@@ -81,20 +81,20 @@
      *
      * @return a map with properties to be initialized
      */
-    Map getBeanProperties();
+    Map<String, Object> getBeanProperties();
 
     /**
      * Returns a map with declarations for beans that should be set as
      * properties of the newly created bean. This allows for complex
-     * initialization szenarios: a bean for a bean that contains complex
+     * initialization scenarios: a bean for a bean that contains complex
      * properties (e.g. other beans) can have nested declarations for defining
      * these complex properties. The returned map's key are the names of the
-     * properties to initialze. The values are <code>BeanDeclaration</code>
+     * properties to initialize. The values are <code>BeanDeclaration</code>
      * implementations. They will be treated like this declaration (in a
      * recursive manner), and the resulting beans are assigned to the
      * corresponding properties.
      *
      * @return a map with nested bean declarations
      */
-    Map getNestedBeanDeclarations();
+    Map<String, BeanDeclaration> getNestedBeanDeclarations();
 }



Mime
View raw message