Fix build

This commit is contained in:
Diederik Muylwyk 2021-03-29 18:39:51 -04:00
parent b720c32c1d
commit e3be7cc6fb
2 changed files with 5 additions and 3 deletions

View File

@ -2,6 +2,7 @@ package ca.uhn.fhir.jpa.dao.r4;
import ca.uhn.fhir.interceptor.api.HookParams;
import ca.uhn.fhir.interceptor.api.IAnonymousInterceptor;
import ca.uhn.fhir.interceptor.api.IPointcut;
import ca.uhn.fhir.interceptor.api.Pointcut;
import ca.uhn.fhir.jpa.api.config.DaoConfig;
import ca.uhn.fhir.jpa.config.TestR4Config;
@ -424,7 +425,7 @@ public class ConsentEventsDaoR4Test extends BaseJpaR4SystemTest {
}
@Override
public void invoke(Pointcut thePointcut, HookParams theArgs) {
public void invoke(IPointcut thePointcut, HookParams theArgs) {
myHitCount.incrementAndGet();
IPreResourceAccessDetails accessDetails = theArgs.get(IPreResourceAccessDetails.class);
@ -452,7 +453,7 @@ public class ConsentEventsDaoR4Test extends BaseJpaR4SystemTest {
@Override
public void invoke(Pointcut thePointcut, HookParams theArgs) {
public void invoke(IPointcut thePointcut, HookParams theArgs) {
super.invoke(thePointcut, theArgs);
IPreResourceAccessDetails accessDetails = theArgs.get(IPreResourceAccessDetails.class);

View File

@ -3,6 +3,7 @@ package ca.uhn.fhir.rest.server;
import ca.uhn.fhir.context.FhirContext;
import ca.uhn.fhir.interceptor.api.HookParams;
import ca.uhn.fhir.interceptor.api.IAnonymousInterceptor;
import ca.uhn.fhir.interceptor.api.IPointcut;
import ca.uhn.fhir.interceptor.api.Pointcut;
import ca.uhn.fhir.rest.annotation.Create;
import ca.uhn.fhir.rest.annotation.ResourceParam;
@ -148,7 +149,7 @@ public class ServerExceptionDstu3Test {
ourServlet.getInterceptorService().registerAnonymousInterceptor(Pointcut.SERVER_INCOMING_REQUEST_PRE_HANDLED, new IAnonymousInterceptor() {
@Override
public void invoke(Pointcut thePointcut, HookParams theArgs) {
public void invoke(IPointcut thePointcut, HookParams theArgs) {
throw new NullPointerException("Hello");
}
});