Browse Source

Polish

pull/11310/merge
Stephane Nicoll 8 years ago
parent
commit
1fdc1e373c
  1. 2
      spring-boot-samples/spring-boot-sample-actuator/src/test/java/sample/actuator/ManagementPortAndPathSampleActuatorApplicationTests.java
  2. 2
      spring-boot-samples/spring-boot-sample-actuator/src/test/java/sample/actuator/ManagementPortSampleActuatorApplicationTests.java
  3. 2
      spring-boot-samples/spring-boot-sample-actuator/src/test/java/sample/actuator/NoManagementSampleActuatorApplicationTests.java
  4. 2
      spring-boot-samples/spring-boot-sample-actuator/src/test/java/sample/actuator/SampleActuatorApplicationTests.java
  5. 2
      spring-boot-samples/spring-boot-sample-integration/src/test/java/sample/integration/consumer/SampleIntegrationApplicationTests.java

2
spring-boot-samples/spring-boot-sample-actuator/src/test/java/sample/actuator/ManagementPortAndPathSampleActuatorApplicationTests.java

@ -60,7 +60,7 @@ public class ManagementPortAndPathSampleActuatorApplicationTests {
} }
@Test @Test
public void testMetrics() throws Exception { public void testMetrics() {
testHome(); // makes sure some requests have been made testHome(); // makes sure some requests have been made
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
ResponseEntity<Map> entity = new TestRestTemplate().getForEntity( ResponseEntity<Map> entity = new TestRestTemplate().getForEntity(

2
spring-boot-samples/spring-boot-sample-actuator/src/test/java/sample/actuator/ManagementPortSampleActuatorApplicationTests.java

@ -60,7 +60,7 @@ public class ManagementPortSampleActuatorApplicationTests {
} }
@Test @Test
public void testMetrics() throws Exception { public void testMetrics() {
testHome(); // makes sure some requests have been made testHome(); // makes sure some requests have been made
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
ResponseEntity<Map> entity = new TestRestTemplate().getForEntity( ResponseEntity<Map> entity = new TestRestTemplate().getForEntity(

2
spring-boot-samples/spring-boot-sample-actuator/src/test/java/sample/actuator/NoManagementSampleActuatorApplicationTests.java

@ -56,7 +56,7 @@ public class NoManagementSampleActuatorApplicationTests {
} }
@Test @Test
public void testMetricsNotAvailable() throws Exception { public void testMetricsNotAvailable() {
testHome(); // makes sure some requests have been made testHome(); // makes sure some requests have been made
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
ResponseEntity<Map> entity = this.restTemplate ResponseEntity<Map> entity = this.restTemplate

2
spring-boot-samples/spring-boot-sample-actuator/src/test/java/sample/actuator/SampleActuatorApplicationTests.java

@ -89,7 +89,7 @@ public class SampleActuatorApplicationTests {
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@Test @Test
public void testMetrics() throws Exception { public void testMetrics() {
testHome(); // makes sure some requests have been made testHome(); // makes sure some requests have been made
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
ResponseEntity<Map> entity = this.restTemplate ResponseEntity<Map> entity = this.restTemplate

2
spring-boot-samples/spring-boot-sample-integration/src/test/java/sample/integration/consumer/SampleIntegrationApplicationTests.java

@ -51,7 +51,7 @@ public class SampleIntegrationApplicationTests {
private ConfigurableApplicationContext context; private ConfigurableApplicationContext context;
@Before @Before
public void deleteInputAndOutput() throws InterruptedException { public void deleteInputAndOutput() {
deleteIfExists(new File("target/input")); deleteIfExists(new File("target/input"));
deleteIfExists(new File("target/output")); deleteIfExists(new File("target/output"));
} }

Loading…
Cancel
Save