Github user mxm commented on the pull request:

    https://github.com/apache/flink/pull/992#issuecomment-130644950
  
    `StringBuilder` is only for single-threaded while `StringBuffer` enables 
multi-thread access. If you use `StringBuffer` in a single-threaded scenario it 
has worse performance than `StringBuilder`.
    
    Thanks for you changes. In addition to the "infinity" test, can you add a 
test that checks for a certain number of retries (e.g. 10)? Also please add a 
check for 1 and 0 retries. It's always good to test corner cases :)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to