Skip to content

Commit 0128d2e

Browse files
Kapil Borledaviwil
Kapil Borle
authored andcommitted
Remove trailing whitespace
1 parent ef64033 commit 0128d2e

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

src/PowerShellEditorServices.Protocol/Client/LanguageServiceClient.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace Microsoft.PowerShell.EditorServices.Protocol.Client
1515
{
1616
public class LanguageServiceClient : LanguageClientBase
1717
{
18-
private Dictionary<string, ScriptFileMarker[]> cachedDiagnostics =
18+
private Dictionary<string, ScriptFileMarker[]> cachedDiagnostics =
1919
new Dictionary<string, ScriptFileMarker[]>();
2020

2121
public LanguageServiceClient(ChannelBase clientChannel)
@@ -62,7 +62,7 @@ protected void OnDiagnosticsReceived(string filePath)
6262
#region Private Methods
6363

6464
private Task HandlePublishDiagnosticsEvent(
65-
PublishDiagnosticsNotification diagnostics,
65+
PublishDiagnosticsNotification diagnostics,
6666
EventContext eventContext)
6767
{
6868
string normalizedPath = diagnostics.Uri.ToLower();
@@ -79,7 +79,7 @@ private Task HandlePublishDiagnosticsEvent(
7979

8080
private static ScriptFileMarker GetMarkerFromDiagnostic(Diagnostic diagnostic)
8181
{
82-
DiagnosticSeverity severity =
82+
DiagnosticSeverity severity =
8383
diagnostic.Severity.GetValueOrDefault(
8484
DiagnosticSeverity.Error);
8585

src/PowerShellEditorServices.Protocol/MessageProtocol/ProtocolEndpoint.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public ProtocolEndpoint(
5959
this.messageProtocolType = messageProtocolType;
6060
this.originalSynchronizationContext = SynchronizationContext.Current;
6161
}
62-
62+
6363
/// <summary>
6464
/// Starts the language server client and sends the Initialize method.
6565
/// </summary>
@@ -150,14 +150,14 @@ public Task<TResult> SendRequest<TResult, TError, TRegistrationOption>(
150150
/// <param name="requestParams"></param>
151151
/// <returns></returns>
152152
public Task<TResult> SendRequest<TParams, TResult>(
153-
RequestType<TParams, TResult> requestType,
153+
RequestType<TParams, TResult> requestType,
154154
TParams requestParams)
155155
{
156156
return this.SendRequest(requestType, requestParams, true);
157157
}
158158

159159
public async Task<TResult> SendRequest<TParams, TResult>(
160-
RequestType<TParams, TResult> requestType,
160+
RequestType<TParams, TResult> requestType,
161161
TParams requestParams,
162162
bool waitForResponse)
163163
{
@@ -182,13 +182,13 @@ public async Task<TResult> SendRequest<TParams, TResult>(
182182
{
183183
responseTask = new TaskCompletionSource<Message>();
184184
this.pendingRequests.Add(
185-
this.currentMessageId.ToString(),
185+
this.currentMessageId.ToString(),
186186
responseTask);
187187
}
188188

189189
await this.protocolChannel.MessageWriter.WriteRequest<TParams, TResult>(
190-
requestType,
191-
requestParams,
190+
requestType,
191+
requestParams,
192192
this.currentMessageId);
193193

194194
if (responseTask != null)

src/PowerShellEditorServices.Protocol/Server/LanguageServerBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public abstract class LanguageServerBase : ProtocolEndpoint
1414
{
1515
private ChannelBase serverChannel;
1616

17-
public LanguageServerBase(ChannelBase serverChannel) :
17+
public LanguageServerBase(ChannelBase serverChannel) :
1818
base(serverChannel, MessageProtocolType.LanguageServer)
1919
{
2020
this.serverChannel = serverChannel;

0 commit comments

Comments
 (0)