mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 01:06:00 +08:00
[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:
parent
577f280258
commit
34d5af502e
@ -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 ####
|
||||
|
||||
|
||||
@ -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++)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user