[rules-users] Guava import fails on collect keyword

Evert Penninckx evert.penninckx at gmail.com
Tue Aug 9 11:16:29 EDT 2011


Hi 

I'm trying to use guava Sets in a simple drools function (drools 5.1.1). But
when I add an import statement:

import com.google.common.collect.Sets;


The compiler fails with message:

mismatched input 'COLLECT' expecting 'identifier' in import


Maybe the collect keyword should be omitted for import statements?


Grtz

Evert

--
View this message in context: http://drools.46999.n3.nabble.com/Guava-import-fails-on-collect-keyword-tp3239299p3239299.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list