提交 fe3c2c2f 编写于 作者: T tanghai

MultiMap返回数组Copy了两次

上级 62e4eae5
......@@ -63,12 +63,7 @@ namespace Model
{
return new K[0];
}
var newList = new List<K>();
foreach (K k in list)
{
newList.Add(k);
}
return newList.ToArray();
return list.ToArray();
}
/// <summary>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册