[jboss-cvs] JBossAS SVN: r64813 - projects/microcontainer/trunk/metatype/src/main/org/jboss/metatype/api/types.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Aug 23 16:19:36 EDT 2007
Author: scott.stark at jboss.org
Date: 2007-08-23 16:19:35 -0400 (Thu, 23 Aug 2007)
New Revision: 64813
Modified:
projects/microcontainer/trunk/metatype/src/main/org/jboss/metatype/api/types/SimpleMetaType.java
Log:
Allow java.lang.Void and void as valid VOID class names
Modified: projects/microcontainer/trunk/metatype/src/main/org/jboss/metatype/api/types/SimpleMetaType.java
===================================================================
--- projects/microcontainer/trunk/metatype/src/main/org/jboss/metatype/api/types/SimpleMetaType.java 2007-08-23 20:17:50 UTC (rev 64812)
+++ projects/microcontainer/trunk/metatype/src/main/org/jboss/metatype/api/types/SimpleMetaType.java 2007-08-23 20:19:35 UTC (rev 64813)
@@ -156,7 +156,7 @@
return BIGDECIMAL;
if (className.equals(BIGINTEGER.getClassName()))
return BIGINTEGER;
- if (className.equals(VOID.getClassName()))
+ if (className.equals(VOID.getClassName()) || className.equals(Void.TYPE.getName()))
return VOID;
if (className.equals(DATE.getClassName()))
return DATE;
More information about the jboss-cvs-commits
mailing list