We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4bc2cba + 111efb6 commit ebe12d1Copy full SHA for ebe12d1
2 files changed
src/main/java/gr/gousiosg/javacg/stat/coverage/JacocoCoverage.java
@@ -82,7 +82,7 @@ public JacocoCoverage(String path)
82
coveredLines.add(
83
String.format(
84
"%s:%d",
85
- rawSrcFile.getName(), Byte.toUnsignedInt(line.nr)))));
+ rawSrcFile.getName(), Short.toUnsignedInt(line.nr)))));
86
}
87
88
/* Indicate that coverage has been applied */
src/main/resources/jacoco-schema.xsd
@@ -66,7 +66,7 @@
66
<xs:complexType>
67
<xs:simpleContent>
68
<xs:extension base="xs:string">
69
- <xs:attribute type="xs:byte" name="nr" use="optional"/>
+ <xs:attribute type="xs:short" name="nr" use="optional"/>
70
<xs:attribute type="xs:byte" name="mi" use="optional"/>
71
<xs:attribute type="xs:byte" name="ci" use="optional"/>
72
<xs:attribute type="xs:byte" name="mb" use="optional"/>
0 commit comments