[jboss-cvs] JBossAS SVN: r70449 - projects/microcontainer/trunk/managed/src/main/org/jboss/managed/plugins/factory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Mar 5 15:04:21 EST 2008
Author: scott.stark at jboss.org
Date: 2008-03-05 15:04:21 -0500 (Wed, 05 Mar 2008)
New Revision: 70449
Modified:
projects/microcontainer/trunk/managed/src/main/org/jboss/managed/plugins/factory/AbstractInstanceClassFactory.java
Log:
Drop the ArrayMetaType/ArrayValueSupport generic usage
Modified: projects/microcontainer/trunk/managed/src/main/org/jboss/managed/plugins/factory/AbstractInstanceClassFactory.java
===================================================================
--- projects/microcontainer/trunk/managed/src/main/org/jboss/managed/plugins/factory/AbstractInstanceClassFactory.java 2008-03-05 20:00:25 UTC (rev 70448)
+++ projects/microcontainer/trunk/managed/src/main/org/jboss/managed/plugins/factory/AbstractInstanceClassFactory.java 2008-03-05 20:04:21 UTC (rev 70449)
@@ -53,7 +53,8 @@
import org.jboss.reflect.spi.TypeInfo;
/**
- * TODO: this needs to move to the mc managed project.
+ * A base InstanceClassFactory implementation that
+ *
* @author Scott.Stark at jboss.org
* @version $Revision$
*/
@@ -197,9 +198,8 @@
if (AbstractManagedObjectFactory.MANAGED_OBJECT_META_TYPE == arrayType.getElementType())
{
Collection cvalue = getAsCollection(value);
- // todo - AJ: changed some generics by best guess
- ArrayMetaType<GenericValueSupport> moType = new ArrayMetaType<GenericValueSupport>(1, AbstractManagedObjectFactory.MANAGED_OBJECT_META_TYPE);
- ArrayValueSupport<GenericValueSupport> moArrayValue = new ArrayValueSupport<GenericValueSupport>(moType);
+ ArrayMetaType moType = new ArrayMetaType(1, AbstractManagedObjectFactory.MANAGED_OBJECT_META_TYPE);
+ ArrayValueSupport moArrayValue = new ArrayValueSupport(moType);
List<GenericValueSupport> tmp = new ArrayList<GenericValueSupport>();
for(Object element : cvalue)
{
More information about the jboss-cvs-commits
mailing list