Polish
This commit is contained in:
@@ -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 {
|
||||
}
|
||||
|
||||
@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(
|
||||
|
||||
@@ -56,7 +56,7 @@ public class NoManagementSampleActuatorApplicationTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testMetricsNotAvailable() throws Exception {
|
||||
public void testMetricsNotAvailable() {
|
||||
testHome(); // makes sure some requests have been made
|
||||
@SuppressWarnings("rawtypes")
|
||||
ResponseEntity<Map> entity = this.restTemplate
|
||||
|
||||
@@ -89,7 +89,7 @@ public class SampleActuatorApplicationTests {
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Test
|
||||
public void testMetrics() throws Exception {
|
||||
public void testMetrics() {
|
||||
testHome(); // makes sure some requests have been made
|
||||
@SuppressWarnings("rawtypes")
|
||||
ResponseEntity<Map> entity = this.restTemplate
|
||||
|
||||
Reference in New Issue
Block a user