Dan Corneanu - 2010-02-07

I have renamed method getContent( ) to readContentFromFS() because the name was misleading.

The FileControlModel class is not thread safe. I have checked the call hierarchy for its methods and I have concluded that all methods, except readContentFromFS(), are called from within the UI thread so it should be no problem with them. The only problem was the interaction between readContentFromFS() and update() methods. I have changed the code in update() not to rely on the fact that actualContents stays unchanged until the end of the method execution. This should fix the bug.

Robert, can you please have a look and confirm that my assumption regarding the call hierarchy is correct?