java
java copied to clipboard
Optimizing SequentialIntegerIdGeneratorStrategy
Doesn't really fix a bug (therefore no ticket, the previous code worked correctly as well), just syntactic sugar and slight performance increasements by not synchronizing the whole object, rather use AtomicInteger for concurrent integer increase and Integer.toString() for string conversion.