mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
remove unused generic type
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user