Commit 889114fc by Demid Merzlyakov

Fix a typo in comments.

parent 41e13440
......@@ -81,7 +81,7 @@ extension Location: UpdatableModelObject {
public func mergedWith(incrementalChanges: Location) -> Location {
var result = self
result.lastTimeUpdated = incrementalChanges.lastTimeUpdated
// The preferense is given to self values rather than incrementalChanges in this class
// The preference is given to self values rather than incrementalChanges in this class
result.coordinates = result.coordinates ?? incrementalChanges.coordinates
result.imageName = result.imageName ?? incrementalChanges.imageName
result.countryCode = result.countryCode ?? incrementalChanges.countryCode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment