updateTask is an instance of an inner class, as the compiler is telling you. It wants to be sure strange things won't happen such as another thread changing the value of prevEntry behind its back. However if you declare a variable as final you can't change it.

A little more context would help, surely preEntry and crntEntry don't exist as bar Strings like that, they must me members of some class. Do you have access functions defined for them?