minor: eclipse violations - exceptions are not thrown
This commit is contained in:
parent
7790f3104d
commit
87707bb5c2
|
|
@ -394,7 +394,7 @@ public class TranslationCheckTest extends BaseCheckTestSupport {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testWrongUserSpecifiedLanguageCodes() throws Exception {
|
||||
public void testWrongUserSpecifiedLanguageCodes() {
|
||||
final TranslationCheck check = new TranslationCheck();
|
||||
try {
|
||||
check.setRequiredTranslations("11");
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ public class FinalClassCheckTest
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testImproperToken() throws Exception {
|
||||
public void testImproperToken() {
|
||||
final FinalClassCheck finalClassCheck = new FinalClassCheck();
|
||||
final DetailAST badAst = new DetailAST();
|
||||
final int unsupportedTokenByCheck = TokenTypes.EOF;
|
||||
|
|
|
|||
Loading…
Reference in New Issue