Skip to content

Commit

Permalink
不要なローカル変数を削除
Browse files Browse the repository at this point in the history
  • Loading branch information
upsilon committed May 30, 2016
1 parent 6866861 commit c469921
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
8 changes: 4 additions & 4 deletions OpenTween.Tests/Thumbnail/Services/FoursquareCheckinTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public async Task GetThumbnailInfoAsync_NewUrlTest()
PostGeo = null,
};

var thumb = await service.GetThumbnailInfoAsync(
await service.GetThumbnailInfoAsync(
"https://www.swarmapp.com/c/xxxxxxxx",
post, CancellationToken.None);

Expand Down Expand Up @@ -132,7 +132,7 @@ public async Task GetThumbnailInfoAsync_LegacyUrlTest()
PostGeo = null,
};

var thumb = await service.GetThumbnailInfoAsync(
await service.GetThumbnailInfoAsync(
"https://foursquare.com/hogehoge/checkin/xxxxxxxx",
post, CancellationToken.None);

Expand Down Expand Up @@ -170,7 +170,7 @@ public async Task GetThumbnailInfoAsync_LegacyUrlWithSignatureTest()
PostGeo = null,
};

var thumb = await service.GetThumbnailInfoAsync(
await service.GetThumbnailInfoAsync(
"https://foursquare.com/hogehoge/checkin/xxxxxxxx?s=aaaaaaa",
post, CancellationToken.None);

Expand Down Expand Up @@ -199,7 +199,7 @@ public async Task GetThumbnailInfoAsync_GeoLocatedTweetTest()
PostGeo = new PostClass.StatusGeo(134.04693603515625, 34.35067978344854),
};

var thumb = await service.GetThumbnailInfoAsync(
await service.GetThumbnailInfoAsync(
"https://www.swarmapp.com/c/xxxxxxxx",
post, CancellationToken.None);

Expand Down
4 changes: 2 additions & 2 deletions OpenTween.Tests/Thumbnail/Services/TumblrTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public async Task GetThumbnailInfoAsync_RequestTest()
var service = new Tumblr(http);

var url = "http://hoge.tumblr.com/post/1234567/tetetete";
var thumb = await service.GetThumbnailInfoAsync(url, null, CancellationToken.None)
await service.GetThumbnailInfoAsync(url, null, CancellationToken.None)
.ConfigureAwait(false);
}

Expand Down Expand Up @@ -124,7 +124,7 @@ public async Task GetThumbnailInfoAsync_CustomHostnameRequestTest()

// Tumblrのカスタムドメイン名を使ってるっぽいURL
var url = "http://tumblr.example.com/post/1234567/tetetete";
var thumb = await service.GetThumbnailInfoAsync(url, null, CancellationToken.None)
await service.GetThumbnailInfoAsync(url, null, CancellationToken.None)
.ConfigureAwait(false);
}

Expand Down
3 changes: 1 addition & 2 deletions OpenTween/Tween.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7466,7 +7466,6 @@ private void ListTab_DoubleClick(object sender, MouseEventArgs e)
private void ListTab_MouseDown(object sender, MouseEventArgs e)
{
if (this._cfgCommon.TabMouseLock) return;
Point cpos = new Point(e.X, e.Y);
if (e.Button == MouseButtons.Left)
{
for (int i = 0; i < ListTab.TabPages.Count; i++)
Expand Down Expand Up @@ -11570,7 +11569,7 @@ private async void tw_NewPostFromStream(object sender, EventArgs e)
_statuses.SetReadHomeTab(); //新着時未読クリア
}

int rsltAddCount = _statuses.DistributePosts();
this._statuses.DistributePosts();

if (this._cfgCommon.UserstreamPeriod > 0) return;

Expand Down

0 comments on commit c469921

Please sign in to comment.