Skip to content

Commit

Permalink
Fix up the CodeFactor violations
Browse files Browse the repository at this point in the history
  • Loading branch information
brogdogg committed Dec 8, 2021
1 parent e3bcd43 commit e7d29d1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/WireMock.Net/RegularExpressions/RegexGuid.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ namespace WireMock.RegularExpressions
/// </summary>
public class RegexGuid : Regex
{

/// <summary>
/// Token for a GUID formated with `B` format specifier with lower case
/// values.
Expand Down Expand Up @@ -126,21 +125,18 @@ public class RegexGuid : Regex
/// </summary>
public const string GuidXRegexPattern = @"(\{0x[A-F0-9]{8},0x[A-F0-9]{4},0x[A-F0-9]{4},\{(0x[A-F0-9]{2},){7}(0x[A-F0-9]{2})\}\})";


/// <inheritdoc cref="Regex"/>
public RegexGuid(string pattern) : this(pattern, RegexOptions.None)
{
}


/// <inheritdoc cref="Regex"/>
public RegexGuid(string pattern,
RegexOptions options)
: this(pattern, options, Regex.InfiniteMatchTimeout)
{
}


/// <inheritdoc cref="Regex"/>
public RegexGuid(string pattern,
RegexOptions options,
Expand All @@ -149,7 +145,6 @@ public RegexGuid(string pattern,
{
}


/// <summary>
/// Replaces all instances of valid GUID tokens with the correct regular
/// expression to match.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,5 @@ public void RegexGuid_GuidX_Pattern()
Check.That(regexUpper.IsMatch(inputUpper)).Equals(true);
Check.That(regexUpper.IsMatch(inputLower)).Equals(false);
}

}
}

0 comments on commit e7d29d1

Please sign in to comment.