X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=org.argeo.api.uuid%2Fsrc%2Forg%2Fargeo%2Fapi%2Fuuid%2FConcurrentUuidFactory.java;h=d78be0c5d548a470c0d16b06e67095fafaf194cc;hb=01da06d541cdb4ad614579a37be64b5de900bc20;hp=130a90a84bfb49be449539bd939fc2cc696bd742;hpb=6bfcb81dd21d8fdd9094610c00f5f8ad9c6a36a7;p=lgpl%2Fargeo-commons.git diff --git a/org.argeo.api.uuid/src/org/argeo/api/uuid/ConcurrentUuidFactory.java b/org.argeo.api.uuid/src/org/argeo/api/uuid/ConcurrentUuidFactory.java index 130a90a84..d78be0c5d 100644 --- a/org.argeo.api.uuid/src/org/argeo/api/uuid/ConcurrentUuidFactory.java +++ b/org.argeo.api.uuid/src/org/argeo/api/uuid/ConcurrentUuidFactory.java @@ -28,7 +28,7 @@ public class ConcurrentUuidFactory extends AbstractAsyncUuidFactory implements T Objects.requireNonNull(nodeId); if (offset + 6 > nodeId.length) throw new IllegalArgumentException("Offset too big: " + offset); - byte[] defaultNodeId = toNodeIdBytes(nodeId, offset); + byte[] defaultNodeId = NodeIdSupplier.toNodeIdBytes(nodeId, offset); long nodeIdBase = NodeIdSupplier.toNodeIdBase(defaultNodeId); setNodeIdSupplier(() -> nodeIdBase, initialClockRange); }