diff --git a/plugins/git4idea/src/git4idea/commands/GitMessageWithFilesDetector.java b/plugins/git4idea/src/git4idea/commands/GitMessageWithFilesDetector.java index 15dc16210dfe..00bb30663e85 100644 --- a/plugins/git4idea/src/git4idea/commands/GitMessageWithFilesDetector.java +++ b/plugins/git4idea/src/git4idea/commands/GitMessageWithFilesDetector.java @@ -42,8 +42,8 @@ public class GitMessageWithFilesDetector implements GitLineHandlerListener { @NotNull private final VirtualFile myRoot; @NotNull protected final Set myAffectedFiles = new HashSet<>(); - protected volatile boolean myMessageDetected; - @Nullable private volatile Key myMessageOutputType; + protected boolean myMessageDetected; + @Nullable private Key myMessageOutputType; public GitMessageWithFilesDetector(@NotNull Event event, @NotNull VirtualFile root) { myEvent = event;