File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 3131 File target = new File ( targetDir, " link-target.txt" );
3232
3333 System . out. println ( " Creating symlink " + link + " -> " + target );
34- Files . createSymbolicLink( target . toPath(), link . toPath() );
34+ Files . createSymbolicLink( link . toPath(), target . toPath() );
3535 if ( ! link. exists() )
3636 {
3737 System . out. println ( " Platform does not support symlinks, skipping test." );
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ for ( pair : pairs )
3939 println " Creating symlink " + link + " -> " + target;
4040 Path targetPath = target. toPath();
4141 Path linkPath = link. toPath();
42- Files . createSymbolicLink( ( Path ) targetPath, ( Path ) linkPath );
42+ Files . createSymbolicLink( linkPath, targetPath );
4343 if ( ! link. exists() )
4444 {
4545 println " Platform does not support symlinks, skipping test." ;
You can’t perform that action at this time.
0 commit comments