OSDN Git Service

string.IsNullOrEmpty の nullable annotation あり版のメソッドを追加
[opentween/open-tween.git] / OpenTween / Api / TwitterStreamObservable.cs
index a7e945a..d9c83fb 100644 (file)
@@ -79,7 +79,7 @@ namespace OpenTween.Api
 
         public static ITwitterStreamMessage ParseLine(string line)
         {
-            if (string.IsNullOrEmpty(line))
+            if (MyCommon.IsNullOrEmpty(line))
                 return new StreamMessageKeepAlive();
 
             if (line.First() != '{' || line.Last() != '}')