RepositoriesView: declare members controlling update as volatile
commit61ba6c9d8f62d01d0a1aea686367efba427f7462
authorJens Baumgart <jens.baumgart@sap.com>
Fri, 2 Mar 2012 08:15:48 +0000 (2 09:15 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Fri, 2 Mar 2012 08:15:48 +0000 (2 09:15 +0100)
treec6f3b0ed406d6d882b6436fbc52f708c9c2ae738
parent38e8c29a5c337ca3dd5e8257dde0074ba11945c7
RepositoriesView: declare members controlling update as volatile

The members lastInputChange, lastRepositoryChange and lastInputUpdate
are accessed from different threads.
To ensure visibility they are declared as volatile.

Change-Id: Ie041229dbce9b607d1a934ff7956a53614791fe4
Signed-off-by: Jens Baumgart <jens.baumgart@sap.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositoriesView.java