From 5a587fb74fd9a8c8839b6f8582f5ff15f5183805 Mon Sep 17 00:00:00 2001 From: David Gageot Date: Thu, 7 May 2015 19:04:22 +0200 Subject: Redundant throws clause in tests --- .../src/test/java/org/sonar/api/utils/MessageExceptionTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sonar-plugin-api/src/test/java/org/sonar/api/utils/MessageExceptionTest.java') diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/utils/MessageExceptionTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/utils/MessageExceptionTest.java index 562c95e3014..d47219a55db 100644 --- a/sonar-plugin-api/src/test/java/org/sonar/api/utils/MessageExceptionTest.java +++ b/sonar-plugin-api/src/test/java/org/sonar/api/utils/MessageExceptionTest.java @@ -26,7 +26,7 @@ import static org.assertj.core.api.Assertions.assertThat; public class MessageExceptionTest { @Test - public void should_create_exception() throws Exception { + public void should_create_exception() { String message = "the message"; MessageException exception = MessageException.of(message); assertThat(exception.getMessage()).isEqualTo(message); -- cgit v1.2.3