Skip to content

Commit

Permalink
analizators/s1264
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhorukovAnton committed Jan 24, 2022
1 parent f3cc581 commit 9ad899e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions common/ASC.Common/Utils/Wildcard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ public static bool IsMatch(string pattern, string input, bool ignoreCase)
{
var offsetInput = 0;
var isAsterix = false;
int i;
for (i = 0; i < pattern.Length;)
int i = 0;
while (i < pattern.Length)
{
switch (pattern[i])
{
Expand Down
4 changes: 2 additions & 2 deletions common/ASC.Data.Storage/Wildcard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ public static bool IsMatch(string pattern, string input, bool caseInsensitive)
var offsetInput = 0;
var isAsterix = false;

int i;
for (i = 0; i < pattern.Length;)
int i = 0;
while (i < pattern.Length)
{
switch (pattern[i])
{
Expand Down

0 comments on commit 9ad899e

Please sign in to comment.