[jboss-svn-commits] JBL Code SVN: r24366 - labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/guvnor/server/rules.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Dec 12 04:39:29 EST 2008


Author: michael.neale at jboss.com
Date: 2008-12-12 04:39:29 -0500 (Fri, 12 Dec 2008)
New Revision: 24366

Modified:
   labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/guvnor/server/rules/SuggestionCompletionLoader.java
Log:
whoops

Modified: labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/guvnor/server/rules/SuggestionCompletionLoader.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/guvnor/server/rules/SuggestionCompletionLoader.java	2008-12-12 08:05:39 UTC (rev 24365)
+++ labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/guvnor/server/rules/SuggestionCompletionLoader.java	2008-12-12 09:39:29 UTC (rev 24366)
@@ -266,7 +266,7 @@
 
                     this.builder.addGlobalType( global.getIdentifier(),
                                                 shortTypeName );
-                    if (Collection.class.isAssignableFrom(clazz)) {
+                    if (clazz != null && Collection.class.isAssignableFrom(clazz)) {
                         this.builder.addGlobalCollection(global.getIdentifier());
                     }
                 }




More information about the jboss-svn-commits mailing list