Merge: Promote location in MEntity
authorJean Privat <jean@pryen.org>
Sat, 14 May 2016 02:19:34 +0000 (22:19 -0400)
committerJean Privat <jean@pryen.org>
Sat, 14 May 2016 02:19:34 +0000 (22:19 -0400)
commit0d2febe83caa79fd3756ae4a54a0efe44921e580
treef91785562c9af5280c0ade44af27cf39d8092f31
parent036f27859fcd59982988fee8a71e731bece06861
parent3d1daa915c84159e5c49436fa5f31e2af8e58895
Merge: Promote location in MEntity

For some unknown historical reasons, the location was only provided to some specific model entities. By extending it to all entities, this simplify clients that need to process, visit or filter entities.

Location is not nullable for all entities. This is simpler but need some place-holder object for fictive location. ie some location objects that mean "no location".

Pull-Request: #2045
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>