[tools] Updated csharp .editorconfig formatter configuration to include a newline the the end of file. Removed commented out unused code.

This commit is contained in:
Harald Csaszar 2021-08-18 16:45:28 +02:00
parent 577f280258
commit 34d5af502e
2 changed files with 1 additions and 4 deletions

View File

@ -13,7 +13,7 @@ tab_width = 4
# New line preferences
end_of_line = crlf
insert_final_newline = false
insert_final_newline = true
#### .NET Coding Conventions ####

View File

@ -93,9 +93,6 @@ namespace Spine {
var oldItems = Items;
if (newSize > itemsLength) {
Array.Resize(ref Items, newSize);
// var newItems = new T[newSize];
// Array.Copy(oldItems, newItems, Count);
// Items = newItems;
} else if (newSize < itemsLength) {
// Allow nulling of T reference type to allow GC.
for (int i = newSize; i < itemsLength; i++)