Java Final - an enduring mystery
<pre><code>suggestBox.addKeyUpHandler( new KeyUpHandler() {
  public void onKeyUp(KeyUpEvent event) {
    if (event.getNativeKeyCode() == KeyCodes.KEY_ENTER) { 
      String boxText = suggestBox.getText();
      if (!boxText.equals("")) {
        suggestPanel.add(checkBoxFactory(boxText, candidateNames));
        suggestBox.setText("");
      }
    }
  }
});
</code></pre>

<p>I havent been able to grasp why java forces me to declare the ArrayList (candiateNames) as final? why is this?</p>
