geometer/FBReaderJ — comment on commit 5858509076eb34faaeeef47825cf72e632c2902a
File:  line 0
By vasiliy-bout:

There are some issues in LitresAuthenticationManager too now.

IMO there are two key-points:
1) All reading and writing operations to manager fields MUST be placed into synchronized(this) sections.
2) All network operations (long operations) MUST be placed outside of these synchronized blocks in order not to block threads while network operations are performed in other threads.

All other changes are based on these two key-points.

If it is not clear, I can explain any part of the code in details :)