NIFI-826 (part 3)

- fixed ID generation routine that was causing miss-identification of the components
This commit is contained in:
Oleg Zhurakousky 2016-07-19 15:13:36 -04:00 committed by Mark Payne
parent 1c6d58b959
commit 6c7c3c0822
1 changed files with 3 additions and 3 deletions

View File

@ -49,11 +49,11 @@ public class TypeOneUUIDGenerator {
long time;
synchronized (lock) {
if (currentTime > lastTime) {
if (currentTime == lastTime) {
++clockSequence;
} else {
lastTime = currentTime;
clockSequence = 0;
} else {
++clockSequence;
}
}