mirror of
https://github.com/gbevin/urlencoder.git
synced 2025-04-25 07:17:11 -07:00
Activated code coverage
This commit is contained in:
parent
3208aa4cca
commit
b2a313e027
2 changed files with 8 additions and 4 deletions
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue