aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2017-10-16 11:59:57 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2017-10-16 13:57:02 +0200
commit2bde31ecbf8fc27d5cffcf811cbe58298ec7124e (patch)
treeb958e3de538ed6e3d95f089b34213e99a39a18e8 /sonar-scanner-engine
parentb288d75a62a336d3bf11fc7641cd07e66f8eabc2 (diff)
downloadsonarqube-2bde31ecbf8fc27d5cffcf811cbe58298ec7124e.tar.gz
sonarqube-2bde31ecbf8fc27d5cffcf811cbe58298ec7124e.zip
Delete deprecated and unused Server#getDeployDir()
Diffstat (limited to 'sonar-scanner-engine')
-rw-r--r--sonar-scanner-engine/src/main/java/org/sonar/scanner/platform/DefaultServer.java7
-rw-r--r--sonar-scanner-engine/src/test/java/org/sonar/scanner/platform/DefaultServerTest.java1
2 files changed, 0 insertions, 8 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/platform/DefaultServer.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/platform/DefaultServer.java
index 796c6b4ea52..44b1f19f122 100644
--- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/platform/DefaultServer.java
+++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/platform/DefaultServer.java
@@ -21,7 +21,6 @@ package org.sonar.scanner.platform;
import java.io.File;
import java.util.Date;
-import javax.annotation.CheckForNull;
import org.apache.commons.lang.StringUtils;
import org.sonar.api.CoreProperties;
import org.sonar.api.SonarRuntime;
@@ -68,12 +67,6 @@ public class DefaultServer extends Server {
}
@Override
- @CheckForNull
- public File getDeployDir() {
- return null;
- }
-
- @Override
public String getContextPath() {
return null;
}
diff --git a/sonar-scanner-engine/src/test/java/org/sonar/scanner/platform/DefaultServerTest.java b/sonar-scanner-engine/src/test/java/org/sonar/scanner/platform/DefaultServerTest.java
index 886588d6597..c5c71e711c9 100644
--- a/sonar-scanner-engine/src/test/java/org/sonar/scanner/platform/DefaultServerTest.java
+++ b/sonar-scanner-engine/src/test/java/org/sonar/scanner/platform/DefaultServerTest.java
@@ -51,7 +51,6 @@ public class DefaultServerTest {
assertThat(metadata.getPermanentServerId()).isEqualTo("123");
assertThat(metadata.getRootDir()).isNull();
- assertThat(metadata.getDeployDir()).isNull();
assertThat(metadata.getContextPath()).isNull();
assertThat(metadata.isDev()).isFalse();
assertThat(metadata.isSecured()).isFalse();