mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[git] Fix possible race condition in tests
The flags are accessed from different threads => volatile
This commit is contained in:
@@ -45,8 +45,8 @@ import java.util.Map;
|
||||
* @author Kirill Likhodedov
|
||||
*/
|
||||
public class MockVcsHelper extends AbstractVcsHelper {
|
||||
private boolean myCommitDialogShown;
|
||||
private boolean myMergeDialogShown;
|
||||
private volatile boolean myCommitDialogShown;
|
||||
private volatile boolean myMergeDialogShown;
|
||||
|
||||
private CommitHandler myCommitHandler;
|
||||
private MergeHandler myMergeHandler;
|
||||
|
||||
Reference in New Issue
Block a user