Skip to content

Commit 3d72c5b

Browse files
committed
#676: Fixed issue with Cobertura files with empty class names
1 parent 738a67e commit 3d72c5b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/Readme.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ For further details take a look at LICENSE.txt.
6767

6868
CHANGELOG
6969

70+
5.3.6.0
71+
72+
* Fix: #676: Fixed issue with Cobertura files with empty class names
73+
7074
5.3.5.0
7175

7276
* New: #663: Improved support for Cobertura files generated by "Microsoft CodeCoverage"

src/ReportGenerator.Core/Parser/ClassNameParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ internal static class ClassNameParser
2626
/// <returns>The parser result.</returns>
2727
public static ClassNameParserResult ParseClassName(string rawName, bool rawMode)
2828
{
29-
if (string.IsNullOrEmpty(rawName))
29+
if (rawName == null)
3030
{
3131
throw new ArgumentNullException(nameof(rawName));
3232
}

0 commit comments

Comments
 (0)