Skip to content

Commit 27eeff3

Browse files
committed
refactor: Remove unused using directives across multiple files to clean up code
Signed-off-by: Soeren Magnus Olesen <soeren@molesen.ch>
1 parent 2f74f24 commit 27eeff3

45 files changed

Lines changed: 0 additions & 101 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/Odin.ControlPlane.Api/Controllers/HistoryController.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
using System;
21
using Hugo;
32
using Microsoft.AspNetCore.Mvc;
43
using Odin.ExecutionEngine.History;
54
using static Hugo.Functional;
6-
using static Hugo.Go;
75

86
namespace Odin.ControlPlane.Api.Controllers;
97

src/Odin.ControlPlane.Api/Controllers/NamespaceController.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
using System;
21
using Hugo;
32
using Microsoft.AspNetCore.Mvc;
43
using Odin.Core;
54
using Odin.Persistence.Interfaces;
65
using static Hugo.Functional;
7-
using static Hugo.Go;
86
using NamespaceModel = Odin.Contracts.Namespace;
97

108
namespace Odin.ControlPlane.Api.Controllers;

src/Odin.ControlPlane.Api/Controllers/TaskQueueController.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
using System;
21
using Hugo;
32
using Microsoft.AspNetCore.Mvc;
4-
using Odin.Contracts;
53
using Odin.ExecutionEngine.Matching;
64
using static Hugo.Functional;
7-
using static Hugo.Go;
85
using QueueStats = Odin.ExecutionEngine.Matching.QueueStats;
96

107
namespace Odin.ControlPlane.Api.Controllers;

src/Odin.ControlPlane.Api/Controllers/WorkflowController.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
1-
using System.Linq;
21
using System.Text.Json;
32
using Google.Protobuf.WellKnownTypes;
43
using Grpc.Core;
5-
using Microsoft.AspNetCore.Http;
64
using Microsoft.AspNetCore.Mvc;
75
using Odin.Core;
86
using GrpcGetWorkflowRequest = Odin.ControlPlane.Grpc.GetWorkflowRequest;
97
using GrpcQueryWorkflowRequest = Odin.ControlPlane.Grpc.QueryWorkflowRequest;
108
using GrpcQueryWorkflowResponse = Odin.ControlPlane.Grpc.QueryWorkflowResponse;
119
using GrpcSignalWorkflowRequest = Odin.ControlPlane.Grpc.SignalWorkflowRequest;
1210
using GrpcStartWorkflowRequest = Odin.ControlPlane.Grpc.StartWorkflowRequest;
13-
using GrpcStartWorkflowResponse = Odin.ControlPlane.Grpc.StartWorkflowResponse;
1411
using GrpcTerminateWorkflowRequest = Odin.ControlPlane.Grpc.TerminateWorkflowRequest;
1512
using ProtoWorkflowExecution = Odin.ControlPlane.Grpc.WorkflowExecution;
1613
using ProtoWorkflowState = Odin.ControlPlane.Grpc.WorkflowState;

src/Odin.ControlPlane.Api/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System.Net.Http;
21
using Odin.ControlPlane.Grpc;
32
using Odin.ExecutionEngine.History;
43
using Odin.ExecutionEngine.Matching;

src/Odin.ControlPlane.Grpc/Services/WorkflowServiceImpl.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
using System;
21
using Google.Protobuf.WellKnownTypes;
32
using Grpc.Core;
43
using Hugo;
5-
using Odin.Contracts;
6-
using Odin.ControlPlane.Grpc;
74
using Odin.Core;
85
using Odin.Persistence.Interfaces;
96
using static Hugo.Functional;
10-
using static Hugo.Go;
117
using DomainWorkflowExecution = Odin.Contracts.WorkflowExecution;
128
using DomainWorkflowState = Odin.Contracts.WorkflowState;
139
using ProtoWorkflowExecution = Odin.ControlPlane.Grpc.WorkflowExecution;

src/Odin.Core/Errors.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using Hugo;
2-
using static Hugo.Go;
32

43
namespace Odin.Core;
54

src/Odin.ExecutionEngine.History/HistoryService.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System.Collections.Generic;
21
using Hugo;
32
using Microsoft.Extensions.Logging;
43
using Odin.Contracts;

src/Odin.ExecutionEngine.Matching/MatchingService.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System.Text.Json;
2-
using System.Threading;
32
using Hugo;
43
using Microsoft.Extensions.Logging;
54
using Odin.Contracts;

src/Odin.ExecutionEngine.Matching/MatchingTask.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using Hugo;
22
using Odin.Contracts;
33
using Odin.Sdk;
4-
using static Hugo.Go;
54
using Unit = Hugo.Go.Unit;
65

76
namespace Odin.ExecutionEngine.Matching;

0 commit comments

Comments
 (0)