Skip to content

Commit

Permalink
#726 Node types should start with capital letter.
Browse files Browse the repository at this point in the history
Removed unused default for parameter of NewNode.
  • Loading branch information
koschke committed Sep 16, 2024
1 parent 3c482aa commit 2d2a0d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Assets/SEE/GraphProviders/VCS/GraphUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ public static class GraphUtils
/// <summary>
/// Typename used for files.
/// </summary>
private const string fileType = "file";
private const string fileType = "File";

/// <summary>
/// Typename used for directories.
/// </summary>
private const string directoryType = "directory";
private const string directoryType = "Directory";

/// <summary>
/// Typename used for repositories.
Expand All @@ -48,7 +48,7 @@ public static class GraphUtils
/// <param name="type">Type of the new node.</param>
/// <param name="name">The source name of the node.</param>
/// <returns>a new node added to <paramref name="graph"/>.</returns>
public static Node NewNode(Graph graph, string id, string type = "Routine", string name = null)
public static Node NewNode(Graph graph, string id, string type, string name = null)
{
Node result = new()
{
Expand Down

0 comments on commit 2d2a0d2

Please sign in to comment.