Another way is to set the boolean false only at the head of the method. Then only set it to true in the following code.
Type: Posts; User: Norm
Another way is to set the boolean false only at the head of the method. Then only set it to true in the following code.
I only see one printlns in your code that would show you what is happening.
Add a println showing the new value just after every statement that changes the values of the variable. There are 4 that...