Update StringExtensions.cs

Removed extraneous variable
This commit is contained in:
Ryan Kelso
2015-09-10 13:13:00 -04:00
parent 57ad6190f8
commit ba35bc060f

View File

@@ -16,8 +16,7 @@ namespace Orchard.Utility.Extensions {
var sb = new StringBuilder(camel);
for (int i = camel.Length-1; i>0; i--) {
var current = sb[i];
if(char.IsUpper(current)) {
if(char.IsUpper(sb[i])) {
sb.Insert(i, ' ');
}
}