Activated code coverage

This commit is contained in:
Geert Bevin 2022-12-31 08:34:43 -05:00
parent 3208aa4cca
commit b2a313e027
2 changed files with 8 additions and 4 deletions

View file

@ -2,6 +2,7 @@ plugins {
`java-library`
`maven-publish`
signing
jacoco
id("org.sonarqube") version "3.5.0.2730"
}
@ -19,6 +20,13 @@ java {
}
}
tasks.jacocoTestReport {
reports {
xml.required.set(true)
html.required.set(true)
}
}
sonarqube {
properties {
property("sonar.projectName", rootProject.name)

View file

@ -32,10 +32,6 @@ public abstract class UrlEncoder {
UNRESERVED_URI_CHARS = unreserved;
}
private UrlEncoder() {
throw new IllegalStateException("UrlEncoder shouldn't be instantiated");
}
private static void appendUrlEncodedByte(StringBuilder out, int ch) {
out.append("%");
appendUrlEncodedDigit(out, ch >> 4);