Skip to content

Commit

Permalink
Suppress compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dsyer committed Feb 18, 2015
1 parent c1b5aff commit e214995
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
*/
public class ClientDetailsUserDetailsServiceTests {

@SuppressWarnings("unchecked")
@Test(expected = UsernameNotFoundException.class)
public void shouldThrowUsernameNotFoundExceptionWhenNoSuchClient() throws Exception {

Expand All @@ -42,6 +43,7 @@ public void shouldThrowUsernameNotFoundExceptionWhenNoSuchClient() throws Except
testee.loadUserByUsername("test_user");
}

@SuppressWarnings("unchecked")
@Test(expected = ClientRegistrationException.class)
public void shouldConductOriginalException() throws Exception {

Expand Down

0 comments on commit e214995

Please sign in to comment.