1
0
mirror of synced 2024-11-21 17:03:50 +00:00

Fixed a few code hints

This commit is contained in:
Mark van Renswoude 2021-09-05 10:05:04 +02:00
parent e83645cdc4
commit 66a0ec116b
7 changed files with 8 additions and 11 deletions

View File

@ -144,7 +144,7 @@ namespace Tapeti.Cmd.ConsoleHelper
public void Confirm(string message)
{
WriteLine(message);
TryReadKey(false, out var _);
TryReadKey(false, out _);
}

View File

@ -1,5 +1,4 @@
using System;
using CommandLine;
using CommandLine;
using RabbitMQ.Client;
using Tapeti.Cmd.ConsoleHelper;

View File

@ -1,5 +1,4 @@
using System;
using CommandLine;
using CommandLine;
using RabbitMQ.Client;
using RabbitMQ.Client.Exceptions;
using Tapeti.Cmd.ConsoleHelper;

View File

@ -30,7 +30,7 @@ namespace Tapeti.Flow.Default
private readonly ConcurrentDictionary<Guid, CachedFlowState> flowStates = new ConcurrentDictionary<Guid, CachedFlowState>();
private readonly ConcurrentDictionary<Guid, Guid> continuationLookup = new ConcurrentDictionary<Guid, Guid>();
private readonly LockCollection<Guid> locks = new LockCollection<Guid>(EqualityComparer<Guid>.Default);
private HashSet<string> validatedMethods = null;
private HashSet<string> validatedMethods;
private readonly IFlowRepository repository;
private readonly ITapetiConfig config;

View File

@ -1,5 +1,4 @@
using System;
using System.Reflection;
using System.Reflection;
using System.Text.RegularExpressions;
namespace Tapeti.Flow.FlowHelpers

View File

@ -1,6 +1,7 @@
using System;
// ReSharper disable UnusedMemberInSuper.Global - public API
// ReSharper disable UnusedMember.Global
namespace Tapeti.Config
{

View File

@ -3,6 +3,8 @@ using System.Collections.Generic;
using System.Text;
using Tapeti.Config;
// ReSharper disable UnusedMember.Global - public API
namespace Tapeti.Default
{
/// <inheritdoc />
@ -17,9 +19,6 @@ namespace Tapeti.Default
/// </summary>
public class WithMessageLogging : ConsoleLogger
{
/// <inheritdoc />
public WithMessageLogging() : base() { }
internal override bool IncludeMessageBody() => true;
}