Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
6b89ee76
Commit
6b89ee76
authored
7 years ago
by
Aleksey Pivovarov
Browse files
Options
Download
Email Patches
Plain Diff
IDEA-188244 diff: fix dir-diff type detection for jar files in a project
parent
542d0ad8
Branches unavailable
Tags unavailable
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
platform/diff-impl/src/com/intellij/diff/actions/CompareFilesAction.java
+1
-1
...mpl/src/com/intellij/diff/actions/CompareFilesAction.java
with
1 addition
and
1 deletion
+1
-1
platform/diff-impl/src/com/intellij/diff/actions/CompareFilesAction.java
+
1
-
1
View file @
6b89ee76
...
...
@@ -164,8 +164,8 @@ public class CompareFilesAction extends BaseShowDiffAction {
@NotNull
private
static
Type
getType
(
@Nullable
VirtualFile
file
)
{
if
(
file
==
null
)
return
Type
.
FILE
;
if
(
file
.
isDirectory
())
return
Type
.
DIRECTORY
;
if
(
file
.
getFileType
()
instanceof
ArchiveFileType
)
return
Type
.
ARCHIVE
;
if
(
file
.
isDirectory
())
return
Type
.
DIRECTORY
;
return
Type
.
FILE
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help