From 690f946b6dee726b34429fc240adba6c18746da8 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Thu, 3 May 2018 09:39:51 -0700 Subject: [PATCH] Polish --- .../test/java/org/springframework/boot/jmx/SampleJmxTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-docs/src/test/java/org/springframework/boot/jmx/SampleJmxTests.java b/spring-boot-docs/src/test/java/org/springframework/boot/jmx/SampleJmxTests.java index aa537fb3bb..80895265c7 100644 --- a/spring-boot-docs/src/test/java/org/springframework/boot/jmx/SampleJmxTests.java +++ b/spring-boot-docs/src/test/java/org/springframework/boot/jmx/SampleJmxTests.java @@ -31,6 +31,7 @@ import org.springframework.test.context.junit4.SpringRunner; * * @author Stephane Nicoll */ +@SuppressWarnings("unused") // tag::test[] @RunWith(SpringRunner.class) @SpringBootTest(properties = "spring.jmx.enabled=true") @@ -43,7 +44,6 @@ public class SampleJmxTests { @Test public void exampleTest() { // ... - } }