After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 642208 - search: return an empty list instead of null
search: return an empty list instead of null
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-02-13 02:47 UTC by Jasper St. Pierre (not reading bugmail)
Modified: 2011-02-13 19:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
search: return an empty list instead of null (982 bytes, patch)
2011-02-13 02:47 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review

Description Jasper St. Pierre (not reading bugmail) 2011-02-13 02:47:24 UTC
Make SearchSystem.updateSearch be consistent and always return a list,
avoiding an exception in SearchResults.updateSearch.
Comment 1 Jasper St. Pierre (not reading bugmail) 2011-02-13 02:47:26 UTC
Created attachment 180758 [details] [review]
search: return an empty list instead of null
Comment 2 Maxim Ermilov 2011-02-13 18:20:34 UTC
Review of attachment 180758 [details] [review]:

looks good
Comment 3 Jasper St. Pierre (not reading bugmail) 2011-02-13 19:41:32 UTC
Attachment 180758 [details] pushed as fb5a0f8 - search: return an empty list instead of null