Use List instead of Arrays.
Arrays is mutable. It makes a bug, that is really hard.
javadoc