Neither am I. It was a copy of the code underneath this block (under done button) which uses the same synchronized block for iterating over components to find updated cards. Because I am so far unfamiliar with multi-threading, I just copied the statement, since I am basically doing the same thing - iterating over components.