[jboss-cvs] JBossAS SVN: r68134 - projects/microcontainer/trunk/metatype/src/main/org/jboss/metatype/plugins/values.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Dec 11 04:43:24 EST 2007


Author: alesj
Date: 2007-12-11 04:43:24 -0500 (Tue, 11 Dec 2007)
New Revision: 68134

Modified:
   projects/microcontainer/trunk/metatype/src/main/org/jboss/metatype/plugins/values/DefaultMetaValueFactory.java
Log:
Unsupported type unwrap TODO.

Modified: projects/microcontainer/trunk/metatype/src/main/org/jboss/metatype/plugins/values/DefaultMetaValueFactory.java
===================================================================
--- projects/microcontainer/trunk/metatype/src/main/org/jboss/metatype/plugins/values/DefaultMetaValueFactory.java	2007-12-11 09:30:02 UTC (rev 68133)
+++ projects/microcontainer/trunk/metatype/src/main/org/jboss/metatype/plugins/values/DefaultMetaValueFactory.java	2007-12-11 09:43:24 UTC (rev 68134)
@@ -494,9 +494,6 @@
          return null;
 
       MetaType metaType = metaValue.getMetaType();
-      // TODO - impl this support as well
-      if (metaType.isTable())
-         throw new IllegalArgumentException("Cannot get value from " + metaValue + ", unsupported.");
 
       if (metaType.isSimple())
       {
@@ -711,8 +708,8 @@
     */
    protected Object unwrapTable(TableValue tableValue, TypeInfo type)
    {
-      // TODO - impl
-      return null;
+      // TODO - impl this support
+      throw new UnsupportedOperationException("Cannot get unwrap value from " + tableValue + ", type unsupported.");
    }
 
    /**




More information about the jboss-cvs-commits mailing list