mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 08:27:14 +02:00
Remove unnecessary type specifications
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179585680
This commit is contained in:
parent
f1ae66d148
commit
ed0670b614
52 changed files with 193 additions and 221 deletions
|
@ -211,7 +211,7 @@ public final class RequestHandlerTest {
|
|||
@Before
|
||||
public void before() throws Exception {
|
||||
// Initialize here, not inline, so that we pick up the mocked UserService.
|
||||
handler = RequestHandler.<Component>createForTest(
|
||||
handler = RequestHandler.createForTest(
|
||||
Component.class,
|
||||
Providers.<Builder>of(new Builder() {
|
||||
@Override
|
||||
|
@ -421,7 +421,7 @@ public final class RequestHandlerTest {
|
|||
when(req.getMethod()).thenReturn("GET");
|
||||
when(req.getRequestURI()).thenReturn("/auth/adminUser");
|
||||
when(requestAuthenticator.authorize(AUTH_INTERNAL_OR_ADMIN.authSettings(), req))
|
||||
.thenReturn(Optional.<AuthResult>empty());
|
||||
.thenReturn(Optional.empty());
|
||||
|
||||
handler.handleRequest(req, rsp);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue