[rules-users] Then part of DRL file can not use Java Generic?
wtang
wtang at kana.com
Mon Dec 30 14:53:37 EST 2013
Does Drools DRL file support Java generic? I have the following in THEN part
of the DRL rule file:
import java.util.*;
.....
Then
List<String> stringList = new ArrayList<String>(); // error could not
resolve class ArrayList<String>
But If I do:
List stringList = new ArrayList(); // this works fine!
thx!
--
View this message in context: http://drools.46999.n3.nabble.com/Then-part-of-DRL-file-can-not-use-Java-Generic-tp4027465.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list