use string per recommended style

This commit is contained in:
Mordechai Zuber
2015-12-16 14:28:01 +02:00
parent 439b058c15
commit 44304ca70b
185 changed files with 265 additions and 265 deletions
+2 -2
View File
@@ -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: