@ -60,7 +60,7 @@ public class ManagementPortAndPathSampleActuatorApplicationTests {
}
@Test
public void testMetrics() throws Exception {
public void testMetrics() {
testHome(); // makes sure some requests have been made
@SuppressWarnings("rawtypes")
ResponseEntity<Map> entity = new TestRestTemplate().getForEntity(
@ -60,7 +60,7 @@ public class ManagementPortSampleActuatorApplicationTests {
@ -56,7 +56,7 @@ public class NoManagementSampleActuatorApplicationTests {
public void testMetricsNotAvailable() throws Exception {
public void testMetricsNotAvailable() {
ResponseEntity<Map> entity = this.restTemplate
@ -89,7 +89,7 @@ public class SampleActuatorApplicationTests {
@SuppressWarnings("unchecked")
@ -51,7 +51,7 @@ public class SampleIntegrationApplicationTests {
private ConfigurableApplicationContext context;
@Before
public void deleteInputAndOutput() throws InterruptedException {
public void deleteInputAndOutput() {
deleteIfExists(new File("target/input"));
deleteIfExists(new File("target/output"));