banshee r4643 - in trunk/banshee: . src/Libraries/Migo/Migo.Syndication src/Libraries/Migo/Migo.TaskCore/Migo.TaskCore.Collections
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r4643 - in trunk/banshee: . src/Libraries/Migo/Migo.Syndication src/Libraries/Migo/Migo.TaskCore/Migo.TaskCore.Collections
- Date: Thu, 2 Oct 2008 16:16:28 +0000 (UTC)
Author: gburt
Date: Thu Oct 2 16:16:28 2008
New Revision: 4643
URL: http://svn.gnome.org/viewvc/banshee?rev=4643&view=rev
Log:
2008-10-02 Gabriel Burt <gabriel burt gmail com>
* src/Libraries/Migo/Migo.Syndication/FeedUpdateTask.cs:
* src/Libraries/Migo/Migo.TaskCore/Migo.TaskCore.Collections/TaskList.cs:
Style fixes.
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Libraries/Migo/Migo.Syndication/FeedUpdateTask.cs
trunk/banshee/src/Libraries/Migo/Migo.TaskCore/Migo.TaskCore.Collections/TaskList.cs
Modified: trunk/banshee/src/Libraries/Migo/Migo.Syndication/FeedUpdateTask.cs
==============================================================================
--- trunk/banshee/src/Libraries/Migo/Migo.Syndication/FeedUpdateTask.cs (original)
+++ trunk/banshee/src/Libraries/Migo/Migo.Syndication/FeedUpdateTask.cs Thu Oct 2 16:16:28 2008
@@ -55,9 +55,9 @@
if (mre == null) {
mre = new ManualResetEvent (true);
}
-
+
return mre;
- }
+ }
}
}
Modified: trunk/banshee/src/Libraries/Migo/Migo.TaskCore/Migo.TaskCore.Collections/TaskList.cs
==============================================================================
--- trunk/banshee/src/Libraries/Migo/Migo.TaskCore/Migo.TaskCore.Collections/TaskList.cs (original)
+++ trunk/banshee/src/Libraries/Migo/Migo.TaskCore/Migo.TaskCore.Collections/TaskList.cs Thu Oct 2 16:16:28 2008
@@ -34,8 +34,7 @@
namespace Migo.TaskCore.Collections
{
- public class TaskList<T> :
- TaskCollection<T>, IList<T>, IEnumerable<T>, IEnumerable
+ public class TaskList<T> : TaskCollection<T>, IList<T>, IEnumerable<T>, IEnumerable
where T : Task
{
private List<T> list;
@@ -44,34 +43,22 @@
private readonly object syncRoot = new object ();
public override bool CanReorder {
- get {
- return true;
- }
+ get { return true; }
}
- public override int Count
- {
- get {
- return list.Count;
- }
+ public override int Count {
+ get { return list.Count; }
}
- public override bool IsReadOnly
- {
- get {
- return false;
- }
+ public override bool IsReadOnly {
+ get { return false; }
}
- public override bool IsSynchronized
- {
- get {
- return false;
- }
+ public override bool IsSynchronized {
+ get { return false; }
}
- public override object SyncRoot
- {
+ public override object SyncRoot {
get { return syncRoot; }
}
@@ -81,8 +68,7 @@
generation = 0;
}
- public override T this [int index]
- {
+ public override T this [int index] {
get {
CheckIndex (index);
return list[index];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]