You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by GitBox <gi...@apache.org> on 2022/10/09 20:18:53 UTC

[GitHub] [commons-text] garydgregory commented on a diff in pull request #367: Simplify with lambda expression.

garydgregory commented on code in PR #367:
URL: https://github.com/apache/commons-text/pull/367#discussion_r990834645


##########
src/main/java/org/apache/commons/text/AlphabetConverter.java:
##########
@@ -504,12 +504,10 @@ public int hashCode() {
     public String toString() {
         final StringBuilder sb = new StringBuilder();
         // @formatter:off
-        originalToEncoded.forEach((k, v) -> {
-            sb.append(codePointToString(k))
-              .append(ARROW)
-              .append(k)
-              .append(System.lineSeparator());
-        });
+        originalToEncoded.forEach((k, v) -> sb.append(codePointToString(k))

Review Comment:
   Don't mess up the formatting please.



-- 
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-unsubscribe@commons.apache.org

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