remove unused generic type

This commit is contained in:
Athou
2014-10-22 10:34:18 +02:00
parent 8f852fb9ac
commit 63e35aba6d

View File

@@ -36,7 +36,7 @@ public class SecurityCheckProvider implements InjectableProvider<SecurityCheck,
} }
@RequiredArgsConstructor @RequiredArgsConstructor
static class SecurityCheckInjectable<T> extends AbstractHttpContextInjectable<User> { static class SecurityCheckInjectable extends AbstractHttpContextInjectable<User> {
private static final String PREFIX = "Basic"; private static final String PREFIX = "Basic";
private final HttpServletRequest request; private final HttpServletRequest request;
@@ -120,6 +120,6 @@ public class SecurityCheckProvider implements InjectableProvider<SecurityCheck,
@Override @Override
public Injectable<?> getInjectable(ComponentContext ic, SecurityCheck sc, Parameter c) { public Injectable<?> getInjectable(ComponentContext ic, SecurityCheck sc, Parameter c) {
return new SecurityCheckInjectable<>(request, userService, sc.value(), sc.apiKeyAllowed()); return new SecurityCheckInjectable(request, userService, sc.value(), sc.apiKeyAllowed());
} }
} }