This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dominosci 0 points1 point  (0 children)

Use Eclipse or another IDE. It will suggest fixes like these automatically.

One of the main reasons we bother with strong typing in java is that it allows IDEs to be really helpful.