You don't have an error, but a warning.
And you should declare it the same way we advice to declare it in Processing: with the type of the elements you plan to put in it.
See for example the
Why use ArrayList instead of array with append()? article on the wiki (Technical FAQ).
Leave a comment on PhiLho's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic