Skip to content
This repository was archived by the owner on Jun 12, 2020. It is now read-only.

Commit cf694ea

Browse files
Remove uneeded constructor
1 parent f86b7a3 commit cf694ea

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/StatsdClient/Statsd.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,8 @@ public Statsd(IStatsdClient statsdClient, IRandomGenerator randomGenerator, ISto
5454
public Statsd(IStatsdClient statsdClient, IRandomGenerator randomGenerator, IStopWatchFactory stopwatchFactory)
5555
: this(statsdClient, randomGenerator, stopwatchFactory, string.Empty) { }
5656

57-
public Statsd(IStatsdClient statsdClient, string prefix)
58-
: this(statsdClient, new RandomGenerator(), new StopWatchFactory(), prefix) { }
59-
6057
public Statsd(IStatsdClient statsdClient)
61-
: this(statsdClient, string.Empty) { }
58+
: this(statsdClient, new RandomGenerator(), new StopWatchFactory(), string.Empty) { }
6259

6360
public void Send<TCommandType>(string name, int value) where TCommandType : IAllowsInteger
6461
{

0 commit comments

Comments
 (0)