aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-runner-api/src/main/java/org/sonar/runner
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2015-09-01 13:56:05 +0200
committerDuarte Meneses <duarte.meneses@sonarsource.com>2015-09-01 13:56:05 +0200
commitabde4bd08f8bf901dba878fc99c8f22c8ca1b071 (patch)
treedb7ad1bb3c805a01a43af271c7ecf6ddcee0f3a8 /sonar-runner-api/src/main/java/org/sonar/runner
parent38d8b26a2aafe04e478e91e46511cd37e55ea47b (diff)
downloadsonar-scanner-cli-abde4bd08f8bf901dba878fc99c8f22c8ca1b071.tar.gz
sonar-scanner-cli-abde4bd08f8bf901dba878fc99c8f22c8ca1b071.zip
Improve unit tests
Diffstat (limited to 'sonar-runner-api/src/main/java/org/sonar/runner')
-rw-r--r--sonar-runner-api/src/main/java/org/sonar/runner/impl/ServerConnection.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/sonar-runner-api/src/main/java/org/sonar/runner/impl/ServerConnection.java b/sonar-runner-api/src/main/java/org/sonar/runner/impl/ServerConnection.java
index 88a92d9..7156ebc 100644
--- a/sonar-runner-api/src/main/java/org/sonar/runner/impl/ServerConnection.java
+++ b/sonar-runner-api/src/main/java/org/sonar/runner/impl/ServerConnection.java
@@ -61,9 +61,6 @@ class ServerConnection {
}
private static String removeEndSlash(String url) {
- if (url == null) {
- return null;
- }
return url.endsWith("/") ? url.substring(0, url.length() - 1) : url;
}