This should be inferred. Are you using jdk7?