aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch/src
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2015-07-07 11:04:36 +0200
committerDavid Gageot <david@gageot.net>2015-07-07 11:36:26 +0200
commitf0390ff8452ea1aecf060e70d27e21e1c04629a7 (patch)
treede04b6e5d166c3f6f892fa8d74508a8552d2fe49 /sonar-batch/src
parent0159164dba722d784ecd98fb94b80ff63a50649b (diff)
downloadsonarqube-f0390ff8452ea1aecf060e70d27e21e1c04629a7.tar.gz
sonarqube-f0390ff8452ea1aecf060e70d27e21e1c04629a7.zip
FIX Redundant throws clause
Diffstat (limited to 'sonar-batch/src')
-rw-r--r--sonar-batch/src/test/java/org/sonar/batch/index/CachesTest.java2
-rw-r--r--sonar-batch/src/test/java/org/sonar/batch/scan/measure/MeasureCacheTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/sonar-batch/src/test/java/org/sonar/batch/index/CachesTest.java b/sonar-batch/src/test/java/org/sonar/batch/index/CachesTest.java
index 411435aebec..32598b28f5e 100644
--- a/sonar-batch/src/test/java/org/sonar/batch/index/CachesTest.java
+++ b/sonar-batch/src/test/java/org/sonar/batch/index/CachesTest.java
@@ -45,7 +45,7 @@ public class CachesTest extends AbstractCachesTest {
}
@Test
- public void should_clean_resources() throws PersistitException {
+ public void should_clean_resources() {
Cache<String> c = caches.<String>createCache("test1");
for (int i = 0; i < 1_000_000; i++) {
c.put("a" + i, "a" + i);
diff --git a/sonar-batch/src/test/java/org/sonar/batch/scan/measure/MeasureCacheTest.java b/sonar-batch/src/test/java/org/sonar/batch/scan/measure/MeasureCacheTest.java
index 505ee23191e..4e513e76302 100644
--- a/sonar-batch/src/test/java/org/sonar/batch/scan/measure/MeasureCacheTest.java
+++ b/sonar-batch/src/test/java/org/sonar/batch/scan/measure/MeasureCacheTest.java
@@ -80,7 +80,7 @@ public class MeasureCacheTest extends AbstractCachesTest {
}
@Test
- public void should_add_measure_with_big_data() throws InterruptedException {
+ public void should_add_measure_with_big_data() {
Project p = new Project("struts");
assertThat(measureCache.entries()).hasSize(0);