Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed some whitespace garbage (II)

  • Loading branch information...
commit 9b2d039654e05be4a69d5e7d982d85c1b2d3d04e 1 parent 7c51db8
@pruiz authored
Showing with 17 additions and 17 deletions.
  1. +17 −17 mcs/class/WindowsBase/System.IO.Packaging/PackUriParser.cs
View
34 mcs/class/WindowsBase/System.IO.Packaging/PackUriParser.cs
@@ -64,37 +64,37 @@ protected override string GetComponents(Uri uri, UriComponents components, UriFo
builder.Length == 0)
start++;
- if (start > 0) builder.Append(s, start, end - start);
+ if (start > 0) builder.Append(s, start, end - start);
}
if ((components & UriComponents.Query) == UriComponents.Query)
{
int index = s.IndexOf('?');
- if (index != -1)
- {
- if ((components & UriComponents.KeepDelimiter) != UriComponents.KeepDelimiter &&
- builder.Length == 0)
- index++;
+ if (index != -1)
+ {
+ if ((components & UriComponents.KeepDelimiter) != UriComponents.KeepDelimiter &&
+ builder.Length == 0)
+ index++;
- int fragIndex = s.IndexOf('#');
- int end = fragIndex == -1 ? s.Length : fragIndex;
- builder.Append(s, index, end - index);
- }
+ int fragIndex = s.IndexOf('#');
+ int end = fragIndex == -1 ? s.Length : fragIndex;
+ builder.Append(s, index, end - index);
+ }
}
if ((components & UriComponents.Fragment) == UriComponents.Fragment)
{
int index = s.IndexOf('#');
- if (index != -1)
- {
- if ((components & UriComponents.KeepDelimiter) != UriComponents.KeepDelimiter &&
- builder.Length == 0)
- index++;
+ if (index != -1)
+ {
+ if ((components & UriComponents.KeepDelimiter) != UriComponents.KeepDelimiter &&
+ builder.Length == 0)
+ index++;
- builder.Append(s, index, s.Length - index);
- }
+ builder.Append(s, index, s.Length - index);
+ }
}
return builder.ToString();
Please sign in to comment.
Something went wrong with that request. Please try again.