Integer.valueOf should be used instead - it is apparently more efficient to do so.