minor: eclipse violations - exceptions are not thrown

This commit is contained in:
rnveach 2016-07-31 10:09:39 -04:00
parent 7790f3104d
commit 87707bb5c2
2 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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;