Skip to content
This repository has been archived by the owner on Apr 2, 2020. It is now read-only.

Commit

Permalink
Clean up warnings and set the correct visibility on classes and inter…
Browse files Browse the repository at this point in the history
…faces
  • Loading branch information
hach-que committed Mar 19, 2016
1 parent 13cf409 commit e2ccef6
Show file tree
Hide file tree
Showing 228 changed files with 614 additions and 322 deletions.
3 changes: 3 additions & 0 deletions Build/Projects/Protobuild.FunctionalTests.definition
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Name="Protobuild.FunctionalTests" Path="Protobuild.FunctionalTests" Type="Console">
<Properties>
<Property Name="NoWarn" Value="1591" />
</Properties>
<References>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand Down
3 changes: 3 additions & 0 deletions Build/Projects/Protobuild.UnitTests.definition
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Name="Protobuild.UnitTests" Path="Protobuild.UnitTests" Type="Console">
<Properties>
<Property Name="NoWarn" Value="1591" />
</Properties>
<References>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand Down
8 changes: 8 additions & 0 deletions Protobuild.Compress/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,16 @@

namespace Protobuild.Compress
{
/// <summary>
/// A program which compresses files so they can be embedded inside the single
/// Protobuild executable that is produced.
/// </summary>
public static class Program
{
/// <summary>
/// The main entry point for the compression utility.
/// </summary>
/// <param name="args">The arguments passed in on the command line.</param>
public static void Main(string[] args)
{
if (args.Length == 0)
Expand Down
7 changes: 7 additions & 0 deletions Protobuild.Debug/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@

namespace Protobuild.Bootstrap
{
/// <summary>
/// The debug version of the bootstrapping program.
/// </summary>
public static class Program
{
/// <summary>
/// The entry point for the bootstrapping program.
/// </summary>
/// <param name="args">The arguments passed in on the command line.</param>
public static void Main(string[] args)
{
// This is an alternative version of the standard Protobuild.exe
Expand Down
4 changes: 0 additions & 4 deletions Protobuild.FunctionalTests/ProtobuildTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,6 @@ protected string GetPath(string path)

protected Dictionary<string, byte[]> LoadPackage(string path)
{
var results = new Dictionary<string, byte[]>();

if (path.EndsWith(".tar.lzma"))
{
using (var lzma = new FileStream(Path.Combine(m_TestLocation, path), FileMode.Open, FileAccess.Read, FileShare.None))
Expand Down Expand Up @@ -212,8 +210,6 @@ protected Dictionary<string, byte[]> LoadPackage(string path)
{
throw new NotSupportedException();
}

return results;
}

protected string SetupSrcPackage()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Protobuild
{
public class AutomatedBuildController : IAutomatedBuildController
internal class AutomatedBuildController : IAutomatedBuildController
{
private readonly IAutomatedBuildRuntimeV1 _automatedBuildRuntimeV1;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace Protobuild
{
public class AutomatedBuildRuntimeV1 : IAutomatedBuildRuntimeV1
internal class AutomatedBuildRuntimeV1 : IAutomatedBuildRuntimeV1
{
private readonly IHostPlatformDetector _hostPlatformDetector;
private readonly IWorkingDirectoryProvider _workingDirectoryProvider;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Protobuild
{
public interface IAutomatedBuildController
internal interface IAutomatedBuildController
{
int Execute(string path);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace Protobuild
{
public interface IAutomatedBuildRuntime
internal interface IAutomatedBuildRuntime
{
object Parse(string text);
int Execute(object handle);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Protobuild
{
public interface IAutomatedBuildRuntimeV1 : IAutomatedBuildRuntime
internal interface IAutomatedBuildRuntimeV1 : IAutomatedBuildRuntime
{
}
}
Loading

0 comments on commit e2ccef6

Please sign in to comment.