Author: oheger
Date: Wed Nov 30 20:38:15 2011
New Revision: 1208757

URL: http://svn.apache.org/viewvc?rev=1208757&view=rev
Log:
Java 1.5 compatibility: Javadocs, raw types, etc.

Modified:
    
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/beanutils/BeanFactory.java

Modified: 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/beanutils/BeanFactory.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/beanutils/BeanFactory.java?rev=1208757&r1=1208756&r2=1208757&view=diff
==============================================================================
--- 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/beanutils/BeanFactory.java
 (original)
+++ 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/beanutils/BeanFactory.java
 Wed Nov 30 20:38:15 2011
@@ -33,14 +33,16 @@ package org.apache.commons.configuration
  * <p>
  * The interface itself is quite simple. There is a single method for creating 
a
  * bean of a given class. All necessary parameters are obtained from an also
- * passed in <code>{@link BeanDeclaration}</code> object. It is also possible
+ * passed in {@link BeanDeclaration} object. It is also possible
  * (but optional) for a bean factory to declare the default class of the bean 
it
  * creates. Then it is not necessary to specify a bean class in the bean
  * declaration.
  * </p>
  *
  * @since 1.3
- * @author Oliver Heger
+ * @author <a
+ * href="http://commons.apache.org/configuration/team-list.html";>Commons
+ * Configuration team</a>
  * @version $Id$
  */
 public interface BeanFactory
@@ -60,7 +62,7 @@ public interface BeanFactory
      * beans will catch this unspecific exception and wrap it in a 
configuration
      * exception)
      */
-    Object createBean(Class beanClass, BeanDeclaration data, Object param)
+    Object createBean(Class<?> beanClass, BeanDeclaration data, Object param)
             throws Exception;
 
     /**
@@ -72,5 +74,5 @@ public interface BeanFactory
      * @return the default class of this factory or <b>null</b> if there is
      * none
      */
-    Class getDefaultBeanClass();
+    Class<?> getDefaultBeanClass();
 }


Reply via email to