Tibor17 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_r383158682
##########
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 );
Review comment:
I like using static imports because here in this example the line would be
short in GH without breaking to new line.
----------------------------------------------------------------
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