diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2014-02-02 11:47:55 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2014-02-02 11:47:55 +0100 |
commit | 7f280114fc26b402e33fb36cedad1659196cab4b (patch) | |
tree | 13a59e9edd3d3a3f62358048ea8f77bb440c3e4d /sonar-testing-harness/src | |
parent | 8ee22cbabf8142c29b510bc82bfb726b3b215520 (diff) | |
download | sonarqube-7f280114fc26b402e33fb36cedad1659196cab4b.tar.gz sonarqube-7f280114fc26b402e33fb36cedad1659196cab4b.zip |
Fix some quality flaws
Diffstat (limited to 'sonar-testing-harness/src')
-rw-r--r-- | sonar-testing-harness/src/main/java/org/sonar/api/server/ws/WsTester.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sonar-testing-harness/src/main/java/org/sonar/api/server/ws/WsTester.java b/sonar-testing-harness/src/main/java/org/sonar/api/server/ws/WsTester.java index 4e1c774e74d..568f0b4cb7e 100644 --- a/sonar-testing-harness/src/main/java/org/sonar/api/server/ws/WsTester.java +++ b/sonar-testing-harness/src/main/java/org/sonar/api/server/ws/WsTester.java @@ -26,7 +26,6 @@ import org.sonar.api.utils.text.JsonWriter; import org.sonar.api.utils.text.XmlWriter; import javax.annotation.CheckForNull; - import java.io.ByteArrayOutputStream; import java.io.OutputStream; import java.io.OutputStreamWriter; @@ -34,8 +33,6 @@ import java.net.URL; import java.util.HashMap; import java.util.Map; -import static org.fest.assertions.Assertions.assertThat; - /** * @since 4.2 */ @@ -104,6 +101,10 @@ public class WsTester { return mediaType; } + public int status() { + return status; + } + @Override public Response.Stream setMediaType(String s) { this.mediaType = s; |