[jboss-cvs] JBossAS SVN: r68204 - 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
Wed Dec 12 16:28:10 EST 2007


Author: alesj
Date: 2007-12-12 16:28:10 -0500 (Wed, 12 Dec 2007)
New Revision: 68204

Modified:
   projects/microcontainer/trunk/metatype/src/main/org/jboss/metatype/plugins/values/DefaultMetaValueFactory.java
Log:
Typo.

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-12 21:26:26 UTC (rev 68203)
+++ projects/microcontainer/trunk/metatype/src/main/org/jboss/metatype/plugins/values/DefaultMetaValueFactory.java	2007-12-12 21:28:10 UTC (rev 68204)
@@ -758,7 +758,6 @@
     */
    protected Object unwrapTable(TableValue tableValue, TypeInfo type)
    {
-      TableMetaType metaType = tableValue.getMetaType();
       if (type instanceof ParameterizedClassInfo)
       {
          ParameterizedClassInfo parameterizedType = (ParameterizedClassInfo)type;
@@ -767,7 +766,7 @@
          {
             TypeInfo keyType = parameterizedType.getActualTypeArguments()[0];
             TypeInfo valueType = parameterizedType.getActualTypeArguments()[1];
-            return createMap(metaType, keyType, valueType, tableValue);
+            return createMap(tableValue, keyType, valueType);
          }
       }
       throw new UnsupportedOperationException("Insufficient information to unwrap table: " + tableValue + ", " + type);
@@ -776,14 +775,12 @@
    /**
     * Create a map
     *
-    * @param metaType the meta type
+    * @param tableValue the table value
     * @param keyType the key type
     * @param valueType the value type
-    * @param tableValue the table value
-    * @param context the context
     * @return the map
     */
-   protected Map createMap(TableMetaType metaType, TypeInfo keyType, TypeInfo valueType, TableValue tableValue)
+   protected Map createMap(TableValue tableValue, TypeInfo keyType, TypeInfo valueType)
    {
       if (tableValue == null)
          return null;




More information about the jboss-cvs-commits mailing list