Simplified expression for PathWrapper creation

This commit is contained in:
Collin Smith 2019-12-18 01:45:26 -08:00
parent 30a0c6a31f
commit 3b9d56252f

View File

@ -142,9 +142,7 @@ public class ClientEntityFactory extends EntityFactory {
mDS1ObjectWrapper.create(id).set(preset.getDS1(), object);
if (object != null && object.path != null) {
mPathWrapper.create(id).path = object.path;
}
if (object.path != null) mPathWrapper.create(id).path = object.path;
return id;
}