QD-649 Fix showing dialog in headless mode. Codestyle cleanup.
authoralexey.afanasiev <alexey.afanasiev@jetbrains.com>
Tue, 26 Jan 2021 13:23:36 +0000 (16:23 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Tue, 26 Jan 2021 13:24:08 +0000 (13:24 +0000)
GitOrigin-RevId: 5fcb970b79ce57e7963ab895f02cf7944eac66b9

platform/vcs-impl/src/com/intellij/openapi/diff/impl/patch/formove/PathsVerifier.java

index 193e175fa810c4bed3095645a5a616b6803761b6..9a930216bd877797297c52b33768a4e2b4f708d0 100644 (file)
@@ -191,7 +191,8 @@ public final class PathsVerifier {
           () -> FileTypeManagerEx.getInstanceEx().associate(FileTypes.PLAIN_TEXT, new ExactFileNameMatcher(file.getName()))
         );
         return true;
-      } else {
+      }
+      else {
         fileType = FileTypeChooser.associateFileType(file.getName());
         if (fileType == null) {
           PatchApplier