Skip to content
This repository was archived by the owner on Nov 22, 2018. It is now read-only.

Commit 3bef0fd

Browse files
committed
Code cleanup (license headers, usings, whitspace)
1 parent 9c5e78b commit 3bef0fd

File tree

6 files changed

+13
-12
lines changed

6 files changed

+13
-12
lines changed

test/Microsoft.AspNet.StaticFiles.Tests/CacheHeaderTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// Copyright (c) .NET Foundation. All rights reserved. See License.txt in the project root for license information.
1+
// Copyright (c) .NET Foundation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
23

34
using System;
45
using System.Net;

test/Microsoft.AspNet.StaticFiles.Tests/DefaultContentTypeProviderTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// Copyright (c) .NET Foundation. All rights reserved. See License.txt in the project root for license information.
1+
// Copyright (c) .NET Foundation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
23

34
using Xunit;
45

test/Microsoft.AspNet.StaticFiles.Tests/DefaultFilesMiddlewareTests.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
// Copyright (c) .NET Foundation. All rights reserved. See License.txt in the project root for license information.
1+
// Copyright (c) .NET Foundation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
23

3-
using System;
44
using System.IO;
55
using System.Net;
66
using System.Net.Http;
7-
using System.Threading;
87
using System.Threading.Tasks;
98
using Microsoft.AspNet.Builder;
109
using Microsoft.AspNet.FileProviders;

test/Microsoft.AspNet.StaticFiles.Tests/DirectoryBrowserMiddlewareTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// Copyright (c) .NET Foundation. All rights reserved. See License.txt in the project root for license information.
1+
// Copyright (c) .NET Foundation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
23

34
using System;
45
using System.IO;

test/Microsoft.AspNet.StaticFiles.Tests/RangeHeaderTests.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
// Copyright (c) .NET Foundation. All rights reserved. See License.txt in the project root for license information.
1+
// Copyright (c) .NET Foundation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
23

34
using System;
4-
using System.Collections.Generic;
5-
using System.Linq;
65
using System.Net;
76
using System.Net.Http;
87
using System.Threading.Tasks;
@@ -234,7 +233,7 @@ public async Task SingleValidRangeShouldServePartialContent(string range, string
234233
Assert.NotNull(resp.Content.Headers.ContentRange);
235234
Assert.Equal("bytes " + expectedRange + "/62", resp.Content.Headers.ContentRange.ToString());
236235
Assert.Equal(length, resp.Content.Headers.ContentLength);
237-
Assert.Equal(expectedData, await resp.Content.ReadAsStringAsync());
236+
Assert.Equal(expectedData, await resp.Content.ReadAsStringAsync());
238237
}
239238

240239
// 14.35 Range

test/Microsoft.AspNet.StaticFiles.Tests/StaticFileMiddlewareTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
// Copyright (c) .NET Foundation. All rights reserved. See License.txt in the project root for license information.
1+
// Copyright (c) .NET Foundation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
23

34
using System;
45
using System.IO;
56
using System.Net;
67
using System.Net.Http;
7-
using System.Reflection;
88
using System.Threading.Tasks;
99
using Microsoft.AspNet.Builder;
1010
using Microsoft.AspNet.FileProviders;

0 commit comments

Comments
 (0)