Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
zebmason committed Feb 15, 2017
1 parent 2a2a4a1 commit f4f88a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 0 additions & 4 deletions Console/View.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,12 @@ namespace DeepEnds.Console
public class View
{
private Dependencies dependencies;
private Dictionary<DeepEnds.Core.Dependency, HashSet<string>> sets;
private Dictionary<string, DeepEnds.Core.Dependency> leaves;
private Sources sources;
private DeepEnds.Reporting.Assemble assembled;

public View()
{
this.dependencies = new Dependencies();
this.sets = new Dictionary<DeepEnds.Core.Dependency, HashSet<string>>();
this.leaves = new Dictionary<string, DeepEnds.Core.Dependency>();
this.sources = new Sources();
this.assembled = null;
}
Expand Down
7 changes: 2 additions & 5 deletions Reporting/Links.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,12 @@ namespace DeepEnds.Reporting

public class Links
{
private Dependency dependency;

public List<Dependency> Dependencies { get; }

public List<Dependency> Interlinks { get; }

public Links(Dependency dependency)
public Links()
{
this.dependency = dependency;
this.Dependencies = new List<Dependency>();
this.Interlinks = new List<Dependency>();
}
Expand All @@ -51,7 +48,7 @@ public void Add(Dependency dependency)

public static void Assemble(Dependency dependency, Dictionary<Dependency, Links> links)
{
links[dependency] = new Links(dependency);
links[dependency] = new Links();

foreach (var child in dependency.Children)
{
Expand Down

0 comments on commit f4f88a3

Please sign in to comment.