ottlinger commented on code in PR #233:
URL: https://github.com/apache/creadur-rat/pull/233#discussion_r1564199293
##########
apache-rat-core/src/main/java/org/apache/rat/configuration/builders/ChildContainerBuilder.java:
##########
@@ -99,11 +102,11 @@ public AbstractBuilder
add(Collection<IHeaderMatcher.Builder> children) {
public List<IHeaderMatcher> getChildren() {
return
children.stream().map(IHeaderMatcher.Builder::build).collect(Collectors.toList());
}
-
+
@Override
public String toString() {
- StringBuilder sb = new
StringBuilder(this.getClass().getSimpleName()).append( ":");
- children.stream().map(Object::toString).forEach( x ->
sb.append("\n").append(x));
+ StringBuilder sb = new
StringBuilder(this.getClass().getSimpleName()).append(":");
+ children.stream().map(Object::toString).forEach(x ->
sb.append("\n").append(x));
Review Comment:
Not sure if it is a problem on Windows to have Linux file endings ...
otherwise System.lineSeparator() again.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]