Skip to content

[Low Risk Cleanup] Removes double semicolons #16794

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Components/test/E2ETest/Tests/FormsTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ protected virtual IWebElement MountTypicalValidationComponent()
[Fact]
public async Task EditFormWorksWithDataAnnotationsValidator()
{
var appElement = MountSimpleValidationComponent();;
var appElement = MountSimpleValidationComponent();
var form = appElement.FindElement(By.TagName("form"));
var userNameInput = appElement.FindElement(By.ClassName("user-name")).FindElement(By.TagName("input"));
var acceptsTermsInput = appElement.FindElement(By.ClassName("accepts-terms")).FindElement(By.TagName("input"));
Expand Down
2 changes: 1 addition & 1 deletion src/Servers/IIS/IntegrationTesting.IIS/src/IISDeployer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ private void ConfigureAppHostConfig(XElement config, string contentRoot, int por

if (DeploymentParameters.RuntimeArchitecture == RuntimeArchitecture.x86)
{
pool.SetAttributeValue("enable32BitAppOnWin64", "true");;
pool.SetAttributeValue("enable32BitAppOnWin64", "true");
}

RunServerConfigActions(config, contentRoot);
Expand Down
2 changes: 1 addition & 1 deletion src/Servers/Kestrel/Core/test/TimeoutControlTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ public void ReadTimingNotEnforcedWhenLowConnectionInputFlowControlAvailability()

// Read 0 bytes in 1 second
now += TimeSpan.FromSeconds(1);
_timeoutControl.Tick(now);;
_timeoutControl.Tick(now);

// Timed out
_mockTimeoutHandler.Verify(h => h.OnTimeout(TimeoutReason.ReadDataRate), Times.Once);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ await Task.Run(async () =>

Assert.True(task3Success.IsCompleted);
Assert.False(task3Success.IsCanceled);
Assert.False(task3Success.IsFaulted);;
Assert.False(task3Success.IsFaulted);
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion src/Servers/Kestrel/stress/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ void ValidateContent(string expectedContent, string actualContent)
using (HttpResponseMessage m = await ctx.HttpClient.SendAsync(req))
{
ValidateResponse(m, httpVersion);
ValidateContent(content, await m.Content.ReadAsStringAsync());;
ValidateContent(content, await m.Content.ReadAsStringAsync());
}
}),

Expand Down
2 changes: 1 addition & 1 deletion src/Shared/Buffers.MemoryPool/MemoryPoolSlab.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ protected void Dispose(bool disposing)
_isDisposed = true;

Array = null;
NativePointer = IntPtr.Zero;;
NativePointer = IntPtr.Zero;

if (_gcHandle.IsAllocated)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public void BinaryMessageParserThrowsForMessagesOver2GB(byte[] payload)
{
var ex = Assert.Throws<FormatException>(() =>
{
var buffer = new ReadOnlySequence<byte>(payload);;
var buffer = new ReadOnlySequence<byte>(payload);
BinaryMessageParser.TryParseMessage(ref buffer, out var message);
});
Assert.Equal("Messages over 2GB in size are not supported.", ex.Message);
Expand Down