IndividualAggregator: assert and assume that _link_map[key][i] != null
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 28 Mar 2013 12:17:38 +0000 (12:17 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 2 Apr 2013 13:35:14 +0000 (14:35 +0100)
commitc438d6d00ad5e513d09315a8cbe285cd1436794d
treef050aff3f253ba6304cc1bde3d2c63f828609917
parent2ec38a5d15bf0dc33908ae7302c6f65b9b52b6f4
IndividualAggregator: assert and assume that _link_map[key][i] != null

The link map's type is non-nullable, and when we add individuals
to the link map we do so through a function that does not allow
a null argument, so we don't need to sprinkle (!) casts around.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=687161
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Philip Withnall <philip@tecnocode.co.uk>
folks/individual-aggregator.vala