[longomatch] Use the safe check for lists comparison



commit 46a1af10cd356c7be1251a70fa0d84366bee3ac2
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Wed Apr 22 12:05:29 2015 +0200

    Use the safe check for lists comparison

 LongoMatch.Core/Store/ActionLink.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/LongoMatch.Core/Store/ActionLink.cs b/LongoMatch.Core/Store/ActionLink.cs
index 881c9aa..c220009 100644
--- a/LongoMatch.Core/Store/ActionLink.cs
+++ b/LongoMatch.Core/Store/ActionLink.cs
@@ -112,8 +112,8 @@ namespace LongoMatch.Core.Store
                            link.DestinationButton != DestinationButton) {
                                return false;
                        }
-                       if (!link.SourceTags.SequenceEqual (SourceTags) ||
-                           !link.DestinationTags.SequenceEqual (DestinationTags)) {
+                       if (!link.SourceTags.SequenceEqualSafe (SourceTags) ||
+                           !link.DestinationTags.SequenceEqualSafe (DestinationTags)) {
                                return false;
                        }
                        return true;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]