提交 14c5cf52 编写于 作者: C CyrusNajmabadi

Address null ref.

上级 8a987e2f
......@@ -204,7 +204,7 @@ public AllLowerCamelCaseMatcher(string candidate, bool includeMatchedSpans, Stri
if (matchSpanToAdd != null)
{
matchedSpansInReverse.Add(matchSpanToAdd.Value);
matchedSpansInReverse?.Add(matchSpanToAdd.Value);
}
// This was result was better than whatever previous best result we had was.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册