Applying our private member naming convention

Just trying to make @half-ogre happy
This commit is contained in:
Haacked
2013-10-04 10:01:20 -07:00
parent 41263a329c
commit adfb50198e
14 changed files with 71 additions and 76 deletions
+4 -4
View File
@@ -16,8 +16,8 @@ namespace Octokit.Http
#endif
readonly Regex linkRelRegex = new Regex("rel=\"(next|prev|first|last)\"", regexOptions);
readonly Regex linkUriRegex = new Regex("<(.+)>", regexOptions);
readonly Regex _linkRelRegex = new Regex("rel=\"(next|prev|first|last)\"", regexOptions);
readonly Regex _linkUriRegex = new Regex("<(.+)>", regexOptions);
public void ParseApiHttpHeaders<T>(IResponse<T> response)
{
@@ -69,10 +69,10 @@ namespace Octokit.Http
var links = response.Headers["Link"].Split(',');
foreach (var link in links)
{
var relMatch = linkRelRegex.Match(link);
var relMatch = _linkRelRegex.Match(link);
if (!relMatch.Success || relMatch.Groups.Count != 2) break;
var uriMatch = linkUriRegex.Match(link);
var uriMatch = _linkUriRegex.Match(link);
if (!uriMatch.Success || uriMatch.Groups.Count != 2) break;
httpLinks.Add(relMatch.Groups[1].Value, new Uri(uriMatch.Groups[1].Value));