You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/05/20 18:37:07 UTC

[GitHub] [pulsar] newur commented on a change in pull request #10658: Force printing of system.out.printf message

newur commented on a change in pull request #10658:
URL: https://github.com/apache/pulsar/pull/10658#discussion_r636364033



##########
File path: site2/docs/client-libraries-java.md
##########
@@ -212,7 +212,7 @@ The following is an example.
 
 ```java
 producer.sendAsync("my-async-message".getBytes()).thenAccept(msgId -> {
-    System.out.printf("Message with ID %s successfully sent", msgId);
+    System.out.printf("Message with ID %s successfully sent%n", msgId);

Review comment:
       I am all for it. The tutorial is very beginner friendly, but the `printf` is kinda uncommon in tutorials?




-- 
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:
users@infra.apache.org