diff options
author | Shadi Haidar <sh1986@att.com> | 2018-09-14 17:22:14 -0400 |
---|---|---|
committer | Shadi Haidar <sh1986@att.com> | 2018-09-14 17:23:12 -0400 |
commit | f8426d18257c33fa8a0267e4f96f7e53bb4a82ee (patch) | |
tree | 78aee264bca03560e43e03ccd2e65dabfef8b44c /src/test/java/io/swagger/api/BootstrapTest.java | |
parent | 4a81073bb3ce0e873bcf38853e66f8ae4150da67 (diff) |
Address warnings
Change-Id: I953b71d130c78bb20cf602e101021e29b538088e
Issue-ID: DCAEGEN2-605
Signed-off-by: Shadi Haidar <sh1986@att.com>
Diffstat (limited to 'src/test/java/io/swagger/api/BootstrapTest.java')
-rw-r--r-- | src/test/java/io/swagger/api/BootstrapTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/java/io/swagger/api/BootstrapTest.java b/src/test/java/io/swagger/api/BootstrapTest.java index 7c86d8c..7eaa2ec 100644 --- a/src/test/java/io/swagger/api/BootstrapTest.java +++ b/src/test/java/io/swagger/api/BootstrapTest.java @@ -20,11 +20,11 @@ package io.swagger.api; -import org.junit.Test; +import static org.junit.Assert.fail; import javax.servlet.ServletException; -import static org.junit.Assert.fail; +import org.junit.Test; /** * Created by mhwang on 3/22/18. @@ -35,7 +35,7 @@ public class BootstrapTest { public void testNoServletConfig() { try { (new Bootstrap()).init(null); - } catch(ServletException e) { + } catch (ServletException e) { fail("This might be a valid failure. Should investigate."); } } |