Skip to content

Commit c1f8abd

Browse files
author
Hovsep
committed
Fixing build warnings: Episode 1 Attempt 1
1 parent db292ec commit c1f8abd

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourcesController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public sealed class ResourcesController
3131
{
3232
private CSMTestEnvironmentFactory csmTestFactory;
3333
private EnvironmentSetupHelper helper;
34-
protected const string TenantIdKey = "TenantId";
35-
protected const string DomainKey = "Domain";
34+
private const string TenantIdKey = "TenantId";
35+
private const string DomainKey = "Domain";
3636

3737
public GraphRbacManagementClient GraphClient { get; private set; }
3838

src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Simulators/AzureHDInsightJobSubmissionClientSimulator.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public AzureHDInsightJobSubmissionClientSimulator(
5454
this.InitializeSimulator();
5555
}
5656

57-
public void Dispose()
57+
public new void Dispose()
5858
{
5959
}
6060

@@ -65,17 +65,17 @@ public string GetCustomUserAgent()
6565
throw new NotImplementedException();
6666
}
6767

68-
public void AddLogWriter(ILogWriter logWriter)
68+
public new void AddLogWriter(ILogWriter logWriter)
6969
{
7070
this.logger.AddWriter(logWriter);
7171
}
7272

73-
public void RemoveLogWriter(ILogWriter logWriter)
73+
public new void RemoveLogWriter(ILogWriter logWriter)
7474
{
7575
this.logger.RemoveWriter(logWriter);
7676
}
7777

78-
public void Cancel()
78+
public new void Cancel()
7979
{
8080
}
8181

@@ -329,12 +329,12 @@ public Task<JobList> ListJobsAsync()
329329
return TaskEx2.FromResult(jobDetailList);
330330
}
331331

332-
public void SetCancellationSource(CancellationTokenSource tokenSource)
332+
public new void SetCancellationSource(CancellationTokenSource tokenSource)
333333
{
334334
this.cancellationTokenSource = tokenSource;
335335
}
336336

337-
public bool IgnoreSslErrors { get; set; }
337+
public new bool IgnoreSslErrors { get; set; }
338338

339339
public JobDetails StopJob(string jobId)
340340
{
@@ -537,6 +537,6 @@ private void WriteJobOutput(string jobId, string statusDirectory, string stdoutC
537537
this.jobOutput[jobId] = stdoutContent;
538538
}
539539

540-
public ILogger Logger { get; private set; }
540+
public new ILogger Logger { get; private set; }
541541
}
542542
}

0 commit comments

Comments
 (0)