title: How to create an ArrayList object in an User Defined Java Class in Kettle?
body: <p>I am trying to declare an <code>ArrayList</code> object in an User Defined Java Class object in pentaho kettle. I am trying a simple code inside the <code>User Defined Java Class</code>:<br></p>
  
  <pre><code>import java.util.List;
  import java.util.ArrayList;
  
  List&lt;String&gt; where = new ArrayList&lt;String&gt;();
  
  public boolean processRow(StepMetaInterface smi, StepDataInterface sdi) throws KettleException
  {    
  
      return true;
  
  }
  </code></pre>
  
  <p>But when I test this class, I get an error:</p>
  
  <p><code>Line 4, Column 6: Identifier expected</code></p>
  
  <p>What can be the issue? If I comment out the line <code>List&lt;String&gt; where = new ArrayList&lt;String&gt;();</code> the code works well.</p>