[weld-commits] Weld SVN: r6074 - core/trunk/impl/src/main/java/org/jboss/weld/xml.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Thu Apr 1 04:18:23 EDT 2010


Author: nickarls
Date: 2010-04-01 04:18:22 -0400 (Thu, 01 Apr 2010)
New Revision: 6074

Modified:
   core/trunk/impl/src/main/java/org/jboss/weld/xml/EnabledClasses.java
Log:
WS

Modified: core/trunk/impl/src/main/java/org/jboss/weld/xml/EnabledClasses.java
===================================================================
--- core/trunk/impl/src/main/java/org/jboss/weld/xml/EnabledClasses.java	2010-04-01 08:17:57 UTC (rev 6073)
+++ core/trunk/impl/src/main/java/org/jboss/weld/xml/EnabledClasses.java	2010-04-01 08:18:22 UTC (rev 6074)
@@ -26,7 +26,7 @@
 /**
  * 
  * @author Nicklas Karlsson
- *
+ * 
  */
 public class EnabledClasses
 {
@@ -61,15 +61,19 @@
    private void processAlternatives(List<BeansXmlElement> alternativesElements)
    {
       Collection<Class<?>> classes = getClassesInElements(alternativesElements);
-      for (Class<?> clazz : classes) {
-         if (clazz.isAnnotation()) {
+      for (Class<?> clazz : classes)
+      {
+         if (clazz.isAnnotation())
+         {
             enabledAlternativeStereotypes.add(clazz.asSubclass(Annotation.class));
-         } else {
+         }
+         else
+         {
             enabledAlternativeClasses.add(clazz);
          }
       }
    }
-   
+
    private Collection<Class<?>> getClassesInElements(List<BeansXmlElement> elements)
    {
       List<Class<?>> classes = new ArrayList<Class<?>>();



More information about the weld-commits mailing list