Bukama commented on code in PR #343:
URL: https://github.com/apache/maven-enforcer/pull/343#discussion_r1965501985


##########
enforcer-rules/src/main/java/org/apache/maven/enforcer/rules/files/AbstractRequireFiles.java:
##########
@@ -93,21 +93,36 @@ private void fail(List<File> failures) throws 
EnforcerRuleException {
 
         StringBuilder buf = new StringBuilder();
         if (message != null) {
-            buf.append(message + System.lineSeparator());
+            buf.append(message + '\n');

Review Comment:
   
![image](https://github.com/user-attachments/assets/3b179f0c-62db-4a2b-9bd3-17272579d9e9)
   
   
   at least jshell handles them the same.
   
   
![image](https://github.com/user-attachments/assets/be1714da-a839-4c44-a65f-2b52802f6678)
   
   so does cmd



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to