brace multiline if statements (cont.)

This commit is contained in:
telans
2020-06-20 21:19:16 +12:00
parent 5bb639a59a
commit 6556bec646
8 changed files with 36 additions and 0 deletions

View File

@@ -140,7 +140,9 @@ namespace Rssdp.Infrastructure
lineIndex++;
}
else
{
break;
}
}
ParseHeader(line, headers, contentHeaders);
@@ -184,7 +186,9 @@ namespace Rssdp.Infrastructure
}
}
else
{
values.AddRange(segments);
}
}
return values;
@@ -218,7 +222,9 @@ namespace Rssdp.Infrastructure
return trimmedSegment.Substring(1, trimmedSegment.Length - 2);
}
else
{
return trimmedSegment;
}
}
}
}