Skip to content

Commit

Permalink
Merge pull request #13 from microsoft/personal/duburson/rm_default_li…
Browse files Browse the repository at this point in the history
…teral

Remove default literal
  • Loading branch information
dustinburson authored Nov 18, 2019
2 parents e775f4f + 160deb2 commit a4d6fec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public MeasurementToEventAsyncCollector(IEventHubService eventHubService)
_eventHubService = EnsureArg.IsNotNull(eventHubService, nameof(eventHubService));
}

public async Task AddAsync(IMeasurement item, CancellationToken cancellationToken = default)
public async Task AddAsync(IMeasurement item, CancellationToken cancellationToken = default(CancellationToken))
{
EnsureArg.IsNotNull(item, nameof(item));

Expand All @@ -38,7 +38,7 @@ public async Task AddAsync(IMeasurement item, CancellationToken cancellationToke
}
}

public async Task FlushAsync(CancellationToken cancellationToken = default)
public async Task FlushAsync(CancellationToken cancellationToken = default(CancellationToken))
{
// Currently no batching, no flush needed at this time.
await Task.Yield();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,12 @@
<HighEntropyVA>true</HighEntropyVA>
<AssemblyName>Microsoft.Health.Fhir.Ingest</AssemblyName>
<RootNamespace>Microsoft.Health.Fhir.Ingest</RootNamespace>
<langversion>latest</langversion>
</PropertyGroup>
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsAsErrors />
</PropertyGroup>
<ItemGroup>
<Compile Remove="Search\**" />
<Compile Remove="Service\Auth\**" />
<EmbeddedResource Remove="Search\**" />
<EmbeddedResource Remove="Service\Auth\**" />
<None Remove="Search\**" />
<None Remove="Service\Auth\**" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Ensure.That" Version="8.0.0" />
<PackageReference Include="Microsoft.Azure.EventHubs" Version="3.0.0" />
Expand Down

0 comments on commit a4d6fec

Please sign in to comment.