[jboss-cvs] JBossAS SVN: r68050 - branches/JBPAPP_4_2_0_GA_CP/ejb3/src/main/org/jboss/ejb3/mdb.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Dec 7 12:59:51 EST 2007


Author: bdecoste
Date: 2007-12-07 12:59:51 -0500 (Fri, 07 Dec 2007)
New Revision: 68050

Modified:
   branches/JBPAPP_4_2_0_GA_CP/ejb3/src/main/org/jboss/ejb3/mdb/MDB.java
Log:
fixed List<Class<?>> list = ProxyFactoryHelper.getBusinessInterfaces(clazz);

Modified: branches/JBPAPP_4_2_0_GA_CP/ejb3/src/main/org/jboss/ejb3/mdb/MDB.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/ejb3/src/main/org/jboss/ejb3/mdb/MDB.java	2007-12-07 17:58:05 UTC (rev 68049)
+++ branches/JBPAPP_4_2_0_GA_CP/ejb3/src/main/org/jboss/ejb3/mdb/MDB.java	2007-12-07 17:59:51 UTC (rev 68050)
@@ -84,7 +84,7 @@
          messagingType = annotation.messageListenerInterface();
          if (messagingType.getName().equals(Object.class.getName()))
          {
-            ArrayList<Class> list = ProxyFactoryHelper.getBusinessInterfaces(clazz);
+            List<Class<?>> list = ProxyFactoryHelper.getBusinessInterfaces(clazz);
             if (list.size() > 1 || list.size() == 0) throw new RuntimeException("unable to determine messagingType interface for MDB");
             messagingType = list.get(0);
          }




More information about the jboss-cvs-commits mailing list