[longomatch/redesign: 39/47] Initialize properly the lists
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/redesign: 39/47] Initialize properly the lists
- Date: Wed, 26 Jan 2011 23:41:21 +0000 (UTC)
commit 1e2a3d22649f6d254d8d74f2a61cbdfeb38a7392
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]