Github user taftster commented on the pull request:

    https://github.com/apache/nifi/pull/202#issuecomment-179495566
  
    1) StringBuilder should probably be preferred to StringBuffer in this case. 
 Though it probably won't matter for performance, the intention is that this is 
the unsychronized (thread safe) usage.
    
    2)  I'm opting for readability over speed.  What's wrong with something 
like:
    
    ```
    private static String createFakeUUID() {
        return new StringBuilder()
            .append("00000000-0000-0000-")
            .append(String.format("%016x", id)
            .insert(23, '-')
            .toString();
    }
    ```


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