diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-11-02 09:48:14 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-11-02 09:48:14 +0000 |
commit | 58bf8f1f205bd01dc8bcd363e9a15abeed573776 (patch) | |
tree | 16da9105e1d22280d346d9d2c00d137b9b92084b /sonar-server | |
parent | 4e0a9182aa9f57d9bd26abdc242e41538d338ef1 (diff) | |
download | sonarqube-58bf8f1f205bd01dc8bcd363e9a15abeed573776.tar.gz sonarqube-58bf8f1f205bd01dc8bcd363e9a15abeed573776.zip |
add the method getURL() to org.sonar.api.platform.Server
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/java/org/sonar/server/platform/ServerImpl.java | 3 | ||||
-rw-r--r-- | sonar-server/src/test/java/org/sonar/server/platform/ServerLifecycleNotifierTest.java | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/sonar-server/src/main/java/org/sonar/server/platform/ServerImpl.java b/sonar-server/src/main/java/org/sonar/server/platform/ServerImpl.java index 3e4ebf3a911..6a8f10ea2fd 100644 --- a/sonar-server/src/main/java/org/sonar/server/platform/ServerImpl.java +++ b/sonar-server/src/main/java/org/sonar/server/platform/ServerImpl.java @@ -87,6 +87,9 @@ public final class ServerImpl extends Server { return StringUtils.defaultIfEmpty(result, ""); } + public String getURL() { + return null; + } @Override public boolean equals(Object o) { diff --git a/sonar-server/src/test/java/org/sonar/server/platform/ServerLifecycleNotifierTest.java b/sonar-server/src/test/java/org/sonar/server/platform/ServerLifecycleNotifierTest.java index f312a33106a..30c3304cb22 100644 --- a/sonar-server/src/test/java/org/sonar/server/platform/ServerLifecycleNotifierTest.java +++ b/sonar-server/src/test/java/org/sonar/server/platform/ServerLifecycleNotifierTest.java @@ -95,4 +95,8 @@ class FakeServer extends Server { public Date getStartedAt() { return null; } + + public String getURL() { + return null; + } } |