[longomatch/redesign2: 39/140] Initialize properly the lists
- From: Andoni Morales Alastruey <amorales src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [longomatch/redesign2: 39/140] Initialize properly the lists
 
- Date: Tue, 24 May 2011 21:59:23 +0000 (UTC)
 
commit 1b8751c5518d5d3272c7bb52767457b194dacfb6
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Wed Dec 22 01:13:19 2010 +0100
    Initialize properly the lists
 LongoMatch/Store/Play.cs |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch/Store/Play.cs b/LongoMatch/Store/Play.cs
index 2cb46fc..6352a62 100644
--- a/LongoMatch/Store/Play.cs
+++ b/LongoMatch/Store/Play.cs
@@ -38,6 +38,9 @@ namespace LongoMatch.Store
 
 		#region Constructors
 		public Play(){
+			LocalPlayers = new List<Player>();
+			VisitorPlayers = new List<Player>();
+			Tags = new List<Tag>();
 		}
 		#endregion
 
@@ -182,7 +185,7 @@ namespace LongoMatch.Store
 		public string ToString (string team)
 		{
 			String[] tags = new String[Tags.Count];
-			
+		
 			for (int i=0; i<Tags.Count; i++)
 				tags[i] = Tags[i].Value;
 			
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]