aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-runner-api/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-runner-api/src/main/java')
-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;
}