mirror of
https://github.com/gbevin/urlencoder.git
synced 2025-06-16 12:10:50 -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`
|
`java-library`
|
||||||
`maven-publish`
|
`maven-publish`
|
||||||
signing
|
signing
|
||||||
|
jacoco
|
||||||
id("org.sonarqube") version "3.5.0.2730"
|
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 {
|
sonarqube {
|
||||||
properties {
|
properties {
|
||||||
property("sonar.projectName", rootProject.name)
|
property("sonar.projectName", rootProject.name)
|
||||||
|
|
|
@ -32,10 +32,6 @@ public abstract class UrlEncoder {
|
||||||
UNRESERVED_URI_CHARS = unreserved;
|
UNRESERVED_URI_CHARS = unreserved;
|
||||||
}
|
}
|
||||||
|
|
||||||
private UrlEncoder() {
|
|
||||||
throw new IllegalStateException("UrlEncoder shouldn't be instantiated");
|
|
||||||
}
|
|
||||||
|
|
||||||
private static void appendUrlEncodedByte(StringBuilder out, int ch) {
|
private static void appendUrlEncodedByte(StringBuilder out, int ch) {
|
||||||
out.append("%");
|
out.append("%");
|
||||||
appendUrlEncodedDigit(out, ch >> 4);
|
appendUrlEncodedDigit(out, ch >> 4);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue