[longomatch/redesign3: 39/143] Initialize properly the lists
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/redesign3: 39/143] Initialize properly the lists
- Date: Mon, 15 Aug 2011 22:48:29 +0000 (UTC)
commit 7331bdb9bb2172035dc5e0a59021598d6ce2a94e
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]