79671451

Date: 2025-06-19 01:50:50
Score: 0.5
Natty:
Report link

I just realized the combiner in the example I referenced is actually thread-safe.

StringBuilder is not thread-safe, but it's different from the combine itself

The combiner 's arguments are two StringBuilder but they're just local variables and have nothing to do with concurrency:

(a, b) -> a.append(",").append(b)
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Name Null