mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-13 22:15:26 +00:00
Merge branch 'master' into bug5264
This commit is contained in:
commit
f7f88a685f
1 file changed
+3
-1
+3
-1
@@ -123,7 +123,9 @@ public class DomainObjectFactoryImpl implements DomainObjectFactory {
|
||||
try {
|
||||
final Document deviceIdDocument = dbObject.get(FieldNames.MARK_PROPERTIES_TRACKING_DEVICE_IDENTIFIER.name(), Document.class);
|
||||
final DeviceIdentifier deviceIdentifier = deviceIdDocument == null ? null : loadDeviceId(deviceIdentifierServiceFinder, deviceIdDocument);
|
||||
builder.withDeviceId(deviceIdentifier);
|
||||
if (deviceIdentifier != null) {
|
||||
builder.withDeviceId(deviceIdentifier);
|
||||
}
|
||||
} catch (TransformationException | NoCorrespondingServiceRegisteredException e) {
|
||||
logger.log(Level.WARNING, "Could not load deviceId for MarkProperties", e);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user