Fanart: micro-optimize some code in FanartService
authorAndrés G. Aragoneses <knocte@gmail.com>
Thu, 19 Sep 2013 13:42:47 +0000 (15:42 +0200)
committerAndrés G. Aragoneses <knocte@gmail.com>
Thu, 19 Sep 2013 13:42:47 +0000 (15:42 +0200)
commit78b90dbd3a1bd110c3878a8f99fe135d030d439e
treebea0b0ea93f3ab9e03b8376325cd856e080f3db8
parent9a2e75b85fed469f39e5cde13cbbc39301a75c02
Fanart: micro-optimize some code in FanartService

Using a const variable instead of two immediate strings, and using the
LINQ method .Any() instead of .Count()>0.
src/Fanart/Banshee.Fanart/FanartService.cs
src/Fanart/Fanart.addin.xml