This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
The error message is not caused by those two lines of code directly. Please show us some more of your code. The compiler tells you exactly in which line of code the error occurs - have a good look at that line of code in your source file.