Two more build failures

This commit is contained in:
James Agnew 2019-04-24 22:00:18 -04:00
parent 42b8d7a134
commit b6bf7cc2db
4 changed files with 10 additions and 4 deletions

View File

@ -4,6 +4,7 @@ import javax.persistence.EntityManagerFactory;
import javax.sql.DataSource; import javax.sql.DataSource;
import ca.uhn.fhir.rest.server.interceptor.LoggingInterceptor; import ca.uhn.fhir.rest.server.interceptor.LoggingInterceptor;
import ca.uhn.fhir.rest.server.interceptor.ResponseHighlighterInterceptor;
import org.springframework.beans.factory.annotation.Autowire; import org.springframework.beans.factory.annotation.Autowire;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
@ -87,9 +88,10 @@ public class FhirServerConfig extends BaseJavaConfigDstu3 {
/** /**
* This interceptor adds some pretty syntax highlighting in responses when a browser is detected * This interceptor adds some pretty syntax highlighting in responses when a browser is detected
* @return
*/ */
@Bean(autowire = Autowire.BY_TYPE) @Bean(autowire = Autowire.BY_TYPE)
public IServerInterceptor responseHighlighterInterceptor() { public ResponseHighlighterInterceptor responseHighlighterInterceptor() {
return FhirServerConfigCommon.getResponseHighlighterInterceptor(); return FhirServerConfigCommon.getResponseHighlighterInterceptor();
} }

View File

@ -4,6 +4,7 @@ import javax.persistence.EntityManagerFactory;
import javax.sql.DataSource; import javax.sql.DataSource;
import ca.uhn.fhir.rest.server.interceptor.LoggingInterceptor; import ca.uhn.fhir.rest.server.interceptor.LoggingInterceptor;
import ca.uhn.fhir.rest.server.interceptor.ResponseHighlighterInterceptor;
import org.springframework.beans.factory.annotation.Autowire; import org.springframework.beans.factory.annotation.Autowire;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
@ -91,9 +92,10 @@ public class FhirServerConfigDstu2 extends BaseJavaConfigDstu2 {
/** /**
* This interceptor adds some pretty syntax highlighting in responses when a browser is detected * This interceptor adds some pretty syntax highlighting in responses when a browser is detected
* @return
*/ */
@Bean(autowire = Autowire.BY_TYPE) @Bean(autowire = Autowire.BY_TYPE)
public IServerInterceptor responseHighlighterInterceptor() { public ResponseHighlighterInterceptor responseHighlighterInterceptor() {
return FhirServerConfigCommon.getResponseHighlighterInterceptor(); return FhirServerConfigCommon.getResponseHighlighterInterceptor();
} }

View File

@ -72,9 +72,10 @@ public class FhirServerConfig extends BaseJavaConfigDstu2 {
/** /**
* This interceptor adds some pretty syntax highlighting in responses when a browser is detected * This interceptor adds some pretty syntax highlighting in responses when a browser is detected
* @return
*/ */
@Bean(autowire = Autowire.BY_TYPE) @Bean(autowire = Autowire.BY_TYPE)
public IServerInterceptor responseHighlighterInterceptor() { public ResponseHighlighterInterceptor responseHighlighterInterceptor() {
ResponseHighlighterInterceptor retVal = new ResponseHighlighterInterceptor(); ResponseHighlighterInterceptor retVal = new ResponseHighlighterInterceptor();
return retVal; return retVal;
} }

View File

@ -84,9 +84,10 @@ public class FhirServerConfigDstu3 extends BaseJavaConfigDstu3 {
/** /**
* This interceptor adds some pretty syntax highlighting in responses when a browser is detected * This interceptor adds some pretty syntax highlighting in responses when a browser is detected
* @return
*/ */
@Bean(autowire = Autowire.BY_TYPE) @Bean(autowire = Autowire.BY_TYPE)
public IServerInterceptor responseHighlighterInterceptor() { public ResponseHighlighterInterceptor responseHighlighterInterceptor() {
ResponseHighlighterInterceptor retVal = new ResponseHighlighterInterceptor(); ResponseHighlighterInterceptor retVal = new ResponseHighlighterInterceptor();
return retVal; return retVal;
} }