Skip to content

Commit

Permalink
TW-72618 Add build problems about compilation errors from .NET runner…
Browse files Browse the repository at this point in the history
… - clean code
  • Loading branch information
NikolayPianikov authored and NikolayPianikov committed Aug 27, 2021
1 parent 2fb006c commit d6025d7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
namespace TeamCity.MSBuild.Logger.Tests
// ReSharper disable StringLiteralTypo
namespace TeamCity.MSBuild.Logger.Tests
{
using System.Linq;
using JetBrains.Annotations;
Expand Down
2 changes: 0 additions & 2 deletions TeamCity.MSBuild.Logger/DefaultConsole.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ public DefaultConsole([NotNull] IDiagnostics diagnostics)
_out = Console.Out;
}

public void Initialize() { }

public void Write(string text)
{
if (string.IsNullOrEmpty(text))
Expand Down
1 change: 1 addition & 0 deletions TeamCity.MSBuild.Logger/Disposable.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// ReSharper disable RedundantUsingDirective
// ReSharper disable UnusedMember.Global
namespace TeamCity.MSBuild.Logger
{
using System;
Expand Down
5 changes: 1 addition & 4 deletions TeamCity.MSBuild.Logger/IInitializable.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
namespace TeamCity.MSBuild.Logger
{
// ReSharper disable once IdentifierTypo
interface IInitializable
{
void Initialize();
}
internal interface IInitializable { }
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using JetBrains.Annotations;
using JetBrains.TeamCity.ServiceMessages;
Expand Down Expand Up @@ -303,6 +302,7 @@ [NotNull] private static string GetFileName([CanBeNull] string file)
return Path.GetFileName(file);
}
}
// ReSharper disable once EmptyGeneralCatchClause
catch { }
return string.Empty;
}
Expand Down

0 comments on commit d6025d7

Please sign in to comment.