banshee r4092 - in trunk/banshee: . src/Clients/Nereid/Nereid
- From: abock svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r4092 - in trunk/banshee: . src/Clients/Nereid/Nereid
- Date: Tue, 3 Jun 2008 19:13:12 +0000 (UTC)
Author: abock
Date: Tue Jun 3 19:13:12 2008
New Revision: 4092
URL: http://svn.gnome.org/viewvc/banshee?rev=4092&view=rev
Log:
2008-06-03 Aaron Bockover <abock gnome org>
* src/Clients/Nereid/Nereid/Client.cs: Use ??
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Clients/Nereid/Nereid/Client.cs
Modified: trunk/banshee/src/Clients/Nereid/Nereid/Client.cs
==============================================================================
--- trunk/banshee/src/Clients/Nereid/Nereid/Client.cs (original)
+++ trunk/banshee/src/Clients/Nereid/Nereid/Client.cs Tue Jun 3 19:13:12 2008
@@ -185,10 +185,7 @@
case "help-playback": Console.WriteLine (commands.ToString ("playback")); break;
default:
if (argument.Key.StartsWith ("help")) {
- if (errors == null) {
- errors = new List<string> ();
- }
- errors.Add (argument.Key);
+ (errors ?? errors = new List<string> ()).Add (argument.Key);
}
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]