Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
f2731357
Commit
f2731357
authored
6 years ago
by
Roman Shevchenko
Browse files
Options
Download
Email Patches
Plain Diff
Cleanup (suppresses pointless NIO inspection)
parent
2d87b8ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
updater/src/com/intellij/updater/Utils.java
+3
-1
updater/src/com/intellij/updater/Utils.java
with
3 additions
and
1 deletion
+3
-1
updater/src/com/intellij/updater/Utils.java
+
3
-
1
View file @
f2731357
// Copyright 2000-201
8
JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
// Copyright 2000-201
9
JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package
com.intellij.updater
;
import
java.io.*
;
...
...
@@ -82,6 +82,7 @@ public class Utils {
}
}
@SuppressWarnings
(
"SSBasedInspection"
)
private
static
void
tryDelete
(
Path
path
)
throws
IOException
{
for
(
int
i
=
0
;
i
<
10
;
i
++)
{
try
{
...
...
@@ -170,6 +171,7 @@ public class Utils {
}
}
@SuppressWarnings
(
"SSBasedInspection"
)
public
static
void
copyDirectory
(
Path
from
,
Path
to
)
throws
IOException
{
Runner
.
logger
().
info
(
from
+
" -> "
+
to
);
...
...
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