We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa7e1cf commit b3d2a3dCopy full SHA for b3d2a3d
1 file changed
patternfx-core/src/main/java/com/techsenger/patternfx/core/AbstractDescriptor.java
@@ -57,8 +57,8 @@ protected AbstractDescriptor(ComponentName name) {
57
protected AbstractDescriptor(ComponentName name, UUID uuid) {
58
this.name = name;
59
this.uuid = uuid;
60
- long least32bits = uuid.getLeastSignificantBits() & 0xFFFFFFFFL;
61
- String shortUuid = String.format("%08X", least32bits);
+ long most32bits = uuid.getMostSignificantBits() >>> 32;
+ String shortUuid = String.format("%08X", most32bits);
62
this.fullName = name.getText() + "@" + shortUuid;
63
this.logPrefix = logPrefixResolver.apply(this);
64
}
0 commit comments