mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-04 19:26:51 +00:00
use string per recommended style
This commit is contained in:
@@ -109,14 +109,14 @@ namespace Octokit
|
||||
if (char.IsUpper(letters[i]) && !char.IsWhiteSpace(previousChar))
|
||||
{
|
||||
//Grab everything before the current character.
|
||||
yield return new String(letters, wordStartIndex, i - wordStartIndex);
|
||||
yield return new string(letters, wordStartIndex, i - wordStartIndex);
|
||||
wordStartIndex = i;
|
||||
}
|
||||
previousChar = letters[i];
|
||||
}
|
||||
|
||||
//We need to have the last word.
|
||||
yield return new String(letters, wordStartIndex, letters.Length - wordStartIndex);
|
||||
yield return new string(letters, wordStartIndex, letters.Length - wordStartIndex);
|
||||
}
|
||||
|
||||
// the rule:
|
||||
|
||||
Reference in New Issue
Block a user