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
d3d45d54
Commit
d3d45d54
authored
6 years ago
by
Rustam Vishnyakov
Browse files
Options
Download
Email Patches
Plain Diff
IDEA-CR-45531 fix (FileUtils.exists)
parent
db90f40c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/editorconfig/src/org/editorconfig/Utils.java
+1
-2
plugins/editorconfig/src/org/editorconfig/Utils.java
with
1 addition
and
2 deletions
+1
-2
plugins/editorconfig/src/org/editorconfig/Utils.java
+
1
-
2
View file @
d3d45d54
...
...
@@ -223,8 +223,7 @@ public class Utils {
private
static
boolean
containsEditorConfig
(
@NotNull
File
dir
)
{
if
(
dir
.
exists
()
&&
dir
.
isDirectory
())
{
File
file
=
new
File
(
dir
.
getPath
()
+
File
.
separator
+
".editorconfig"
);
if
(
file
.
exists
())
return
true
;
if
(
FileUtil
.
exists
(
dir
.
getPath
()
+
File
.
separator
+
".editorconfig"
))
return
true
;
}
return
false
;
}
...
...
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