createArrayList not working with 2.4

Hi There,

I’ve a rule, that uses val List<String> notification = createArrayList but since upgrading to 2.4 I got this error while loading the rule:

2018-12-23 12:14:21.534 [WARN ] [me.internal.engine.RuleContextHelper] - Variable 'notification' on rule file 'Warning_Missing_Sensor_Values.rules' cannot be initialized with value 'createArrayList': The name 'createArrayList' cannot be resolved to an item or type; line 3, column 33, length 15

Was createArrayList replaced by something else?
Bests
Pascal

It should be “newArrayList”. As far as I know it has always been “new” instead of “create”.

You can also just create it normally with

new ArrayList()