From 2c5dc9a75c227dbfdc950aef81ad5404c22c1840 Mon Sep 17 00:00:00 2001 From: David Fowler Date: Tue, 13 Dec 2016 21:30:08 -0800 Subject: [PATCH] CR feedback - Added license to file - Removed extra space --- .../Internal/HostedServiceExecutor.cs | 5 ++++- test/Microsoft.AspNetCore.Hosting.Tests/WebHostTests.cs | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.AspNetCore.Hosting/Internal/HostedServiceExecutor.cs b/src/Microsoft.AspNetCore.Hosting/Internal/HostedServiceExecutor.cs index ac8afb41d6..ba6631a225 100644 --- a/src/Microsoft.AspNetCore.Hosting/Internal/HostedServiceExecutor.cs +++ b/src/Microsoft.AspNetCore.Hosting/Internal/HostedServiceExecutor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using Microsoft.Extensions.Logging; diff --git a/test/Microsoft.AspNetCore.Hosting.Tests/WebHostTests.cs b/test/Microsoft.AspNetCore.Hosting.Tests/WebHostTests.cs index 928a857ab0..bab6bdffaa 100644 --- a/test/Microsoft.AspNetCore.Hosting.Tests/WebHostTests.cs +++ b/test/Microsoft.AspNetCore.Hosting.Tests/WebHostTests.cs @@ -364,7 +364,6 @@ namespace Microsoft.AspNetCore.Hosting var lifetime = host.Services.GetRequiredService(); lifetime.StopApplication(); - host.Start(); var svc = (TestHostedService)host.Services.GetRequiredService(); Assert.True(svc.StartCalled);