You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by oh...@apache.org on 2008/03/19 22:15:13 UTC

svn commit: r639023 - /commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/beanutils/BeanDeclaration.java

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();
 }