[Tween-svn] [1203] DELETEイベントの処理で例外を出すことがあったバグを修正

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2010年 12月 13日 (月) 03:31:09 JST


Revision: 1203
          http://sourceforge.jp/projects/tween/svn/view?view=rev&revision=1203
Author:   syo68k
Date:     2010-12-13 03:31:09 +0900 (Mon, 13 Dec 2010)

Log Message:
-----------
DELETEイベントの処理で例外を出すことがあったバグを修正

Modified Paths:
--------------
    trunk/Tween/Twitter.vb


-------------- next part --------------
Modified: trunk/Tween/Twitter.vb
===================================================================
--- trunk/Tween/Twitter.vb	2010-12-12 10:22:31 UTC (rev 1202)
+++ trunk/Tween/Twitter.vb	2010-12-12 18:31:09 UTC (rev 1203)
@@ -2881,7 +2881,7 @@
         Dim evt As New FormattedEvent
         evt.CreatedAt = createdat
         If post Is Nothing Then
-            Dim tmp As PostClass = (From p In _deletemessages Where p.Id = id).First
+            Dim tmp As PostClass = (From p In _deletemessages Where p.Id = id).FirstOrDefault
             If tmp IsNot Nothing Then
                 post = tmp
                 _deletemessages.Remove(post)



Tween-svn メーリングリストの案内
Back to archive index