Skip to content

Commit 06a5df9

Browse files
committed
use braces
Signed-off-by: olivier lamy <olamy@apache.org>
1 parent 49a1662 commit 06a5df9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/org/codehaus/plexus/util/FileUtils.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,9 +1107,13 @@ private static void doCopyFile( File source, File destination )
11071107
{
11081108
// offload to operating system if supported
11091109
if ( Java7Detector.isJava7() )
1110+
{
11101111
doCopyFileUsingNewIO( source, destination );
1112+
}
11111113
else
1114+
{
11121115
doCopyFileUsingLegacyIO( source, destination );
1116+
}
11131117
}
11141118

11151119
private static void doCopyFileUsingLegacyIO( File source, File destination )

0 commit comments

Comments
 (0)