rfscholte commented on a change in pull request #10: fix a number of small 
warnings and formatting issues
URL: https://github.com/apache/maven-shared-utils/pull/10#discussion_r396011336
 
 

 ##########
 File path: src/test/java/org/apache/maven/shared/utils/io/SymlinkTestSetup.java
 ##########
 @@ -36,18 +37,18 @@ public static File createStandardSymlinkTestDir( File root 
)
         srcDir.mkdirs();
         File target = new File( srcDir, "targetDir" );
         target.mkdirs();
-        write( new File( target, "targetFile.txt" ), "a regular File payload" 
);
+        write( new File( target, "targetFile.txt" ), "a regular File payload", 
StandardCharsets.UTF_8 );
         File aRegularDir = new File( srcDir, "aRegularDir" );
         aRegularDir.mkdirs();
-        write( new File( aRegularDir, "aRegularFile.txt" ), "a regular File 
payload" );
+        write( new File( aRegularDir, "aRegularFile.txt" ), "a regular File 
payload", StandardCharsets.UTF_8 );
 
         File dirOnTheOutside = new File( root, "dirOnTheOutside" );
         dirOnTheOutside.mkdirs();
-        write( new File( dirOnTheOutside, "FileInDirOnTheOutside.txt" ), "a 
file in dir on the outside" );
-        write( new File( root, "onTheOutside.txt" ), "A file on the outside" );
-        write( new File( srcDir, "fileR.txt" ), "FileR payload" );
-        write( new File( srcDir, "fileW.txt" ), "FileW payload" );
-        write( new File( srcDir, "fileX.txt" ), "FileX payload" );
+        write( new File( dirOnTheOutside, "FileInDirOnTheOutside.txt" ), "a 
file in dir on the outside", StandardCharsets.UTF_8 );
 
 Review comment:
   Ah, I see, so leave it like this.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to