Author: pete.muir(a)jboss.org
Date: 2009-03-27 13:02:23 -0400 (Fri, 27 Mar 2009)
New Revision: 2230
Modified:
ri/trunk/impl/src/main/java/org/jboss/webbeans/bootstrap/BeanDeployer.java
Log:
minor
Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/bootstrap/BeanDeployer.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/bootstrap/BeanDeployer.java 2009-03-27
16:54:16 UTC (rev 2229)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/bootstrap/BeanDeployer.java 2009-03-27
17:02:23 UTC (rev 2230)
@@ -261,7 +261,7 @@
!ejbApiAbstraction.ENTERPRISE_BEAN_CLASS.isAssignableFrom(rawType)
&&
!jsfApiAbstraction.UICOMPONENT_CLASS.isAssignableFrom(rawType) &&
hasSimpleWebBeanConstructor(clazz)
- && manager.getServices().contains(JpaServices.class) ?
!manager.getServices().get(JpaServices.class).discoverEntities().contains(clazz.getRawType())
: true;
+ && (manager.getServices().contains(JpaServices.class) ?
!manager.getServices().get(JpaServices.class).discoverEntities().contains(clazz.getRawType())
: true);
}
private static boolean hasSimpleWebBeanConstructor(AnnotatedClass<?> type)
Show replies by date