I have a do while that looks like:
User user = userDao.Get(1);
do
{
// processing
// get the next user
//
user = UserDao.GetNext(user.Id);
if(user == null)
continue; // will this work?????????????
}
while ( user != null)
If it does work, its going to go to the top of the do statement, and user is null so things are going to break?
Maybe I should rework the loop to a while statement?