[longomatch/redesign: 40/96] Initialize properly the lists
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/redesign: 40/96] Initialize properly the lists
- Date: Tue, 29 Mar 2011 18:19:06 +0000 (UTC)
commit 65cc3e1766ecd743f00fa6ae47bec26a4bae0dba
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]